wm4 <nfxjfg <at> googlemail.com> writes:

> + * If a codec or a filter does not support alpha, it should support the
> + * alpha-free format variants only, e.g. AV_PIX_FMT_RGB0 instead of
> + * AV_PIX_FMT_RGBA.

... or set the alpha channel to 0xFF.

I wonder if this isn't slightly misleading:
If a codec supports RGB24, it doesn't have 
to support RGB0 (or RGBA). Some codecs 
support both RGBA and RGB0 iirc.

But you have to decide if this sentence 
makes the API easier to understand or not.

Carl Eugen

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to