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>
Sun, 10 Jan 2016 14:59:27 +0000 (15:59 +0100)
commitd86d7b2486cd5c31db8e820d8a89554abf19567e
tree8a47eea9f6e7a2da902cf543b5766c85bf0ac4f2
parentf587ed0cbbda2de85d0fb34a4fdca89ccb1f1e61
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>
libavcodec/mjpegdec.c