[FFmpeg-devel] [PATCH]Swap U&V for Metasoft MJPEG codec

Carl Eugen Hoyos cehoyos
Tue Jan 26 11:58:34 CET 2010


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

> > +        if (s->avctx->codec_tag == MKTAG('M', 'T', 'S', 'J')
> > +            && nb_components == 3 && s->nb_components == 3 && i)
> > +            index = 2 - (i >> 1);
> 
> index = 3-i;
> 
> > 
> >          s->comp_index[i] = index;
> > ?
> 
> ok

Applied.

Thank you, Carl Eugen




More information about the ffmpeg-devel mailing list