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@sandy.tauware.de>
Sat, 30 Apr 2011 06:12:10 +0000 (08:12 +0200)
commit19166566418e48d13652a6c20468873108cfe955
treec55800fcfde9df675cdf7fe8c64841db583a42cd
parentb4eafa8b04802f45a710e712f2ec2676e0a77024
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>
(cherry picked from commit 0d9cba562b88899f0769e686d19b7953f589069b)
libavcodec/mjpegdec.c