[FFmpeg-devel] [PATCH]lavc/mjpegdec: Read polarity field from AVI1 chunk

Thilo Borgmann thilo.borgmann at mail.de
Mon May 9 14:49:11 CEST 2016


diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 7d38fc2..74884f1 100644
[...]
             s->buggy_avid = 1;
-        i = get_bits(&s->gb, 8); len--;
+        s->interlace_polarity = get_bits(&s->gb, 8); len--;
         av_log(s->avctx, AV_LOG_DEBUG, "polarity %d\n", i);

I assume the av_log() should also be updated.

-Thilo



More information about the ffmpeg-devel mailing list