[FFmpeg-devel] [PATCH]Fix remaining AVUI samples (v2)

Carl Eugen Hoyos cehoyos at ag.or.at
Sat May 19 20:23:15 CEST 2012


Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> > +    transparent = avctx->bits_per_coded_sample == 32 &&
> > +                  avpkt->size >= (2 * avctx->height + skip[0] + skip[1]) *
> > +                                 2 * avctx->width + 4 + 8 * interlaced;
> > +    srca = src + (2 * avctx->height + skip[0] + skip[1]) * avctx->width
> > +           + 5 + interlaced * 4;
> 
> A comment and/or some intermediate variable should make this 
> easier to understand.

I fixed the decoder (after testing the encoder) and added a variable
opaque_length, I hope that adds the missing information.

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list