avcodec/v210dec: Fix alignment check for AVX2
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 18 May 2019 07:32:58 +0000 (09:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 19 May 2019 08:47:09 +0000 (10:47 +0200)
commitfbdb3aa179939616bc7fb26e3fe386b85b58e467
treeec2c7bd2651e7878350d9324bd63f28b09412841
parentc61d16cf3b815388c076c2a35b5c91e84b45d7be
avcodec/v210dec: Fix alignment check for AVX2

Fixes: "null pointer dereference" (actually misaligned access but the tools seem not to support this)
Fixes: 14551/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_V210_fuzzer-5088609952071680

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/v210dec.c