avcodec/mjpegdec: Fix runtime error: left shift of negative value -127
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 8 Mar 2017 20:41:34 +0000 (21:41 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 9 Mar 2017 22:28:10 +0000 (23:28 +0100)
commit800d02abe041deacab5585bf41c1bc2ae5f4b922
tree3f729d8894fe2c799a875d32d4706079b35b48e5
parent58dd25f8adb151a59971daa94d352d3226d2dbb6
avcodec/mjpegdec: Fix runtime error: left shift of negative value -127

Fixes: 733/clusterfuzz-testcase-4682158096515072

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