mjpeg: Detect overreads in mjpeg_decode_scan() and error out.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 21 Apr 2011 20:03:24 +0000 (22:03 +0200)
committerReinhard Tartler <siretart@tauware.de>
Tue, 26 Apr 2011 07:40:06 +0000 (09:40 +0200)
commiteed5697f99927c78956fde6ee6f1ac87f3c6d261
tree5f891b0b622c0fa4adc20402366bca9ec873d288
parent52ee20f2aa2936e0fb0a90e81c39135a8f2394e9
mjpeg: Detect overreads in mjpeg_decode_scan() and error out.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Ronald S. Bultje <rbultje@google.com>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/mjpegdec.c