avcodec/mjpegdec: make type of shift unsigned to avoid undefined behavior
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 27 Apr 2014 22:16:42 +0000 (00:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 27 Apr 2014 22:22:38 +0000 (00:22 +0200)
commite31727bd53fc69ace0373deabf48360ac6af94ec
tree97f8d0d126cded376c9002feaea984c0cc43047f
parent4260ed462b4ca92e90fb13006b7b5db8010a32d0
avcodec/mjpegdec: make type of shift unsigned to avoid undefined behavior

Found-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegdec.c