You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
mjpeg: interlaced buggy avid fix
Fix Ticket362 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -1123,8 +1123,7 @@ static int mjpeg_decode_app(MJpegDecodeContext *s)
|
|||||||
// if (s->first_picture)
|
// if (s->first_picture)
|
||||||
// printf("mjpeg: workarounding buggy AVID\n");
|
// printf("mjpeg: workarounding buggy AVID\n");
|
||||||
i = get_bits(&s->gb, 8); len--;
|
i = get_bits(&s->gb, 8); len--;
|
||||||
if (i==2) s->bottom_field= 1;
|
av_log(s->avctx, AV_LOG_DEBUG, "polarity %d\n", i);
|
||||||
else if(i==1) s->bottom_field= 0;
|
|
||||||
#if 0
|
#if 0
|
||||||
skip_bits(&s->gb, 8);
|
skip_bits(&s->gb, 8);
|
||||||
skip_bits(&s->gb, 32);
|
skip_bits(&s->gb, 32);
|
||||||
|
Reference in New Issue
Block a user