[FFmpeg-devel] [PATCH] avformat/riffenc: fix handling monowhite when pix_fmt is not set
Mats Peterson
matsp888 at yahoo.com
Tue Feb 23 15:54:21 CET 2016
On 02/23/2016 01:11 PM, Michael Niedermayer wrote:
> + enum AVPixelFormat pix_fmt = enc->pix_fmt;
> + if (pix_fmt == AV_PIX_FMT_NONE && enc->bits_per_coded_sample == 1)
> + pix_fmt = AV_PIX_FMT_MONOWHITE;
When is pix_fmt AV_PIX_FMT_NONE in this context? And what is this "enum
AVPixelFormat pix_fmt = enc->pix_fmt" doing?
Mats
--
Mats Peterson
http://matsp888.no-ip.org/~mats/
More information about the ffmpeg-devel
mailing list