aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/jpegls.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-01-05 03:47:21 +0100
committerJanne Grunau <janne-libav@jannau.net>2012-01-05 18:20:35 +0100
commite268a352af893e47bd3ea2aed90761cb0b4feca7 (patch)
treefed175a4a2654916283354a3abbd7baed027f6dd /libavcodec/jpegls.c
parent5e5cde27452d6725427feb3ae86c89e986506c8e (diff)
downloadffmpeg-e268a352af893e47bd3ea2aed90761cb0b4feca7.tar.gz
mjpegdec: parse RSTn to prevent skipping other data in mjpeg_decode_scan
Check explicitly if enough bits are left to prevent an infinite loop when the bitstream buffer is not followed by zero-padding. Based on patches by Michael Niedermayer <michaelni@gmx.at>.
Diffstat (limited to 'libavcodec/jpegls.c')
0 files changed, 0 insertions, 0 deletions