mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
mjpegdec: fix len for AVI1 reader
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b34c7a5656
commit
e009432b50
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user