avcodec/mpeg4video: Fix runtime error: left shift of negative value
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 22 Feb 2017 00:22:24 +0000 (01:22 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 22 Feb 2017 01:42:48 +0000 (02:42 +0100)
commit6179dc8aa7e5fc5358b9614306f93f1adadf22a4
treecfd2310757c81960648523a850b0d0204b0f6739
parent92188c8f57bf02a564c17f7994c8434a2f3893fe
avcodec/mpeg4video: Fix runtime error: left shift of negative value

Fixes: 644/clusterfuzz-testcase-4726434209726464
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpeg4videodec.c
libavcodec/mpegvideo_motion.c