mjpegdec: check for packed rgb mjpeg.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 20 Feb 2013 23:00:51 +0000 (00:00 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 20 Feb 2013 23:03:36 +0000 (00:03 +0100)
commit47e92153b61b0dbf8af328c699e7239fbb472221
tree345c38094a8083320609aaf6f8528bdee22b2897
parentc4dc6c4c86a052b7ba53fa7ae0c1b0643ad70d0b
mjpegdec: check for packed rgb mjpeg.

Fixes null pointer dereference

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