[FFmpeg-devel] [RFC] [PATCH] iff: ANIM suppport

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Jul 22 11:20:18 CEST 2012


Don Moir <donmoir <at> comcast.net> writes:

> >> I am using about a month old ffmpeg.
> >
> > Please consider reading http://ffmpeg.org/contact.html (esp. the part
> > about thread hijacking) and http://ffmpeg.org/bugreports.html
> 
> I figure someone that is in there with IFF currently might want to know 
> about it. There is no hijack about it... just common sense. 

You misunderstand:
Everybody here does want to know about problems with FFmpeg (and I am 
particularly interested in transparency bugs), but not in unrelated 
threads that incidentally are about the same format, apart from the 
fact that bug-reports are not welcome on ffmpeg-devel if you don't 
want to work on the fix yourself.
Both trac and ffmpeg-users are followed by developers so there is no 
reason not to report problems there.

Anyway, please test following inlined patch and report back.
(@Peter: Any comments?)

Carl Eugen

diff --git a/libavcodec/iff.c b/libavcodec/iff.c
index 57ce570..a4cdcb8 100644
--- a/libavcodec/iff.c
+++ b/libavcodec/iff.c
@@ -327,6 +327,6 @@ static av_cold int decode_init
     } else if (avctx->bits_per_coded_sample <= 32) {
         if (avctx->codec_tag != MKTAG('D','E','E','P'))
-            avctx->pix_fmt = PIX_FMT_BGR32;
+            avctx->pix_fmt = PIX_FMT_0BGR32;
     } else {
         return AVERROR_INVALIDDATA;
     }




More information about the ffmpeg-devel mailing list