diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-15 03:04:28 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-15 04:18:32 +0200 |
commit | e009432b50fc642747e54694d3f0783c6a0c4fbd (patch) | |
tree | adf3fa9f14209fac60a34ae39ebac4a8b2cbc34c /libavcodec | |
parent | b34c7a56565c6ebac02c9daf95f06217bc52eed8 (diff) | |
download | ffmpeg-e009432b50fc642747e54694d3f0783c6a0c4fbd.tar.gz |
mjpegdec: fix len for AVI1 reader
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mjpegdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 2c6330bf95..66114f81a2 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -1122,7 +1122,7 @@ static int mjpeg_decode_app(MJpegDecodeContext *s) s->buggy_avid = 1; // if (s->first_picture) // printf("mjpeg: workarounding buggy AVID\n"); - i = get_bits(&s->gb, 8); + i = get_bits(&s->gb, 8); len--; if (i==2) s->bottom_field= 1; else if(i==1) s->bottom_field= 0; #if 0 |