mjpeg: Check for interlaced progressive frames
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Mar 2012 20:35:58 +0000 (21:35 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Mar 2012 20:35:58 +0000 (21:35 +0100)
commita3f5ee297a7cf9bf21646ec4858d614f36248ff7
tree1677a73aa89659fbe27a31a1d2d17320c0296646
parent0af48e29f55a4e5824e6f7157ac94cf8b210aa84
mjpeg: Check for interlaced progressive frames

Fixes null pointer dereference.

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