avcodec/mjpegdec: Fix integer overflow in shift
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 27 Nov 2014 18:27:05 +0000 (19:27 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 27 Nov 2014 18:30:31 +0000 (19:30 +0100)
commit970a8f1c256f08d2f6414d573a54f2fa035c8e7a
tree674812ebf28b5d85801dfc2024eed7a47cf9fa9d
parent92fa1d9231b808ebad2c5651fb41cd025d5cd4b8
avcodec/mjpegdec: Fix integer overflow in shift

Fixes: signal_sigabrt_7ffff6ac7bb9_2683_cov_4120310995_m_ijpg.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegdec.c