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

2016-05-14 Thread Michael Niedermayer
On Mon, May 09, 2016 at 02:44:23PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached aptch fixes ticket #5523 for me, I only tested the files > attached there. > > Please comment, Carl Eugen > mjpegdec.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

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

2016-05-09 Thread Michael Niedermayer
On Mon, May 09, 2016 at 02:44:23PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached aptch fixes ticket #5523 for me, I only tested the files > attached there. breaks: https://trac.ffmpeg.org/raw-attachment/ticket/362/test.avi [...] -- Michael GnuPG fingerprint:

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

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

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

2016-05-09 Thread Carl Eugen Hoyos
Hi! Attached aptch fixes ticket #5523 for me, I only tested the files attached there. Please comment, Carl EugenFrom 389009e064e9e2b4a1a35d1add0efe1b643c1a62 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 9 May 2016 14:40:22 +0200 Subject: [PATCH] lavc/mjpegdec: