[FFmpeg-devel] [PATCH]Fix pix_fmt_info for yuva420

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jan 17 00:46:09 CET 2012


Stefano Sabatini <stefasab <at> gmail.com> writes:

> > +++ b/libavcodec/imgconvert.c
> > @@ -109,6 +109,7 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
> >  
> >      /* YUV formats with alpha plane */
> >      [PIX_FMT_YUVA420P] = {
> > +        .is_alpha = 1,
> >          .color_type = FF_COLOR_YUV,
> >      },
> 
> LGTM.

Patch applied.

Sorry, I cannot comment on API questions, Carl Eugen



More information about the ffmpeg-devel mailing list