avcodec/mjpegdec: Fix negative shift
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 10 Jan 2016 14:52:09 +0000 (15:52 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Jan 2016 15:00:31 +0000 (16:00 +0100)
commit7cfea0d41cb05f099c2456f7b0797382adda7756
treecbed383f540b7ad77a29ae56be84365f75f84cdc
parent8c08247990ca5246bf8f2c48fc2f3fd8a043f326
avcodec/mjpegdec: Fix negative shift

Fixes: mjpeg_left_shift.avi

Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit d86d7b2486cd5c31db8e820d8a89554abf19567e)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mjpegdec.c