mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:21:11 +01:00
mjpeg: interlaced buggy avid fix
Fix Ticket362 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e009432b50
commit
d55b06b8e7
1 changed files with 1 additions and 2 deletions
|
|
@ -1123,8 +1123,7 @@ static int mjpeg_decode_app(MJpegDecodeContext *s)
|
|||
// if (s->first_picture)
|
||||
// printf("mjpeg: workarounding buggy AVID\n");
|
||||
i = get_bits(&s->gb, 8); len--;
|
||||
if (i==2) s->bottom_field= 1;
|
||||
else if(i==1) s->bottom_field= 0;
|
||||
av_log(s->avctx, AV_LOG_DEBUG, "polarity %d\n", i);
|
||||
#if 0
|
||||
skip_bits(&s->gb, 8);
|
||||
skip_bits(&s->gb, 32);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue