avcodec/mpc8: Fixes invalid shift in mpc8_decode_frame()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 Jul 2019 18:02:24 +0000 (20:02 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 13 Jul 2019 12:42:57 +0000 (14:42 +0200)
commit1dbb67d39b21ed320edd2b1599b502518250cfd3
tree84cd4dcad63b9210d0d16683f511e0a6284ccc56
parent60e6db2f5bf6136ae4b603c3e5ee6697d47b1ef1
avcodec/mpc8: Fixes invalid shift in mpc8_decode_frame()

Fixes: left shift of negative value -456
Fixes: 15561/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPC8_fuzzer-5758130404720640

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