[FFmpeg-devel] [PATCH]lavf/webpenc: Do not set alpha flag for yuv420p

Ronald S. Bultje rsbultje at gmail.com
Tue May 3 18:11:59 CEST 2016


Hi,

On Tue, May 3, 2016 at 11:54 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> On Tuesday 03 May 2016 03:04:50 pm Ronald S. Bultje wrote:
>
> > > +                if (av_pix_fmt_desc_get(st->codecpar->format)->flags
> &&
> > > AV_PIX_FMT_FLAG_ALPHA)
>
> > I think you want s/&&/&/?
>
> Definitely, new patch attached.


So, to address wm4's other concern, are there cases where
st->codecpar->format is not set? E.g. codec copy or so?

Ronald


More information about the ffmpeg-devel mailing list