avcodec/vc1_block: Fix invalid left shift in vc1_decode_p_mb()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 2 Oct 2019 17:53:44 +0000 (19:53 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 3 Oct 2019 17:37:28 +0000 (19:37 +0200)
commit2f588ccfb70cba54a7ea8e740110953da604c0e6
tree233291da8f2ec7627840d6d7d1e73564a78a9f07
parent9b533de28eb19c660c75823ff2af2f8549c4095a
avcodec/vc1_block: Fix invalid left shift in vc1_decode_p_mb()

Fixes: left shift of negative value -6
Fixes: 17810/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1_fuzzer-5638541240958976

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vc1_block.c