avcodec/vc1dsp: Avoid undefined shifts in vc1_v_s_overlap_c / vc1_h_s_overlap_c
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Jun 2019 14:17:12 +0000 (16:17 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 26 Jun 2019 19:26:41 +0000 (21:26 +0200)
commit507ca66ee41aa8a95b75654163f77af0a99a25b1
tree0457ce2ce9e2a7e09b333439d1b666988ba9b75f
parentebccd2f778a861b41ad38a8464ea120d4f16b2d7
avcodec/vc1dsp: Avoid undefined shifts in vc1_v_s_overlap_c / vc1_h_s_overlap_c

Fixes: left shift of negative value -13
Fixes: 15260/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1_fuzzer-5702076048343040

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