提交 e009432b 编写于 作者: M Michael Niedermayer

mjpegdec: fix len for AVI1 reader

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 b34c7a56
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册