avcodec/vc1_block: Fix invalid shift with rangeredfrm
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 10 Sep 2019 15:39:45 +0000 (17:39 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 Sep 2019 16:34:52 +0000 (18:34 +0200)
commitc722a69253a280b86b1d2a4ca00c89345a796781
tree6c58bf7501c5616cb72d4bf664d0563f8a6a0ebd
parent181e138da7207523b387eabc28d24e74a46248bc
avcodec/vc1_block: Fix invalid shift with rangeredfrm

Fixes: left shift of negative value -7
Fixes: 16959/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV3_fuzzer-5200360825683968

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