diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-01-05 03:47:21 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-01-05 18:20:35 +0100 |
commit | e268a352af893e47bd3ea2aed90761cb0b4feca7 (patch) | |
tree | fed175a4a2654916283354a3abbd7baed027f6dd /libavcodec/bgmc.c | |
parent | 5e5cde27452d6725427feb3ae86c89e986506c8e (diff) | |
download | ffmpeg-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/bgmc.c')
0 files changed, 0 insertions, 0 deletions