[FFmpeg-devel] [PATCH]Fix issue 1474

Carl Eugen Hoyos cehoyos
Tue Jan 12 01:31:36 CET 2010


Hi!

Michael Niedermayer <michaelni <at> gmx.at> writes:

> > +                    // Support "Resolution 1:1" for Avid AVI Codec
> > +                    if(tag1 == MKTAG('A', 'V', 'R', 'n') &&
> > +                       st->codec->extradata_size >= 31 &&
> > +                       !memcmp(&st->codec->extradata[28], "1:1", 3))
> > +                        tag1 = MKTAG('U', 'Y', 'V', 'Y');
> 
> i think you should override codec_id, not codec_tag
> 
> the rawvideo decoder then can check extradata /codec_tag to get both
> progressive and interlaced correctly

Of course.

Committed a hopefully (more) correct version...

Thank you, Carl Eugen




More information about the ffmpeg-devel mailing list