[FFmpeg-devel] [PATCH] pngdec: set correct range

Carl Eugen Hoyos cehoyos at ag.or.at
Thu May 7 23:47:22 CEST 2015

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

> AV_PIX_FMT_GRAY8/16 are considered YUV formats, 
> and the color_range is not set - so the API user 
> will have to assume limitted range. (Unless the 
> API user adds a special-case for the PNG decoder.)

I believe this is slightly misleading: gray8 and 
gray16 are interpreted as full-range by default 
since years.

This should of course not affect your patch.

Carl Eugen

More information about the ffmpeg-devel mailing list