[FFmpeg-devel] [PATCH]Fix linesize for pix_fmt pal8

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jun 25 20:22:10 CEST 2012

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

> > Can you explain the following code from raw_decode()?

It allows decoding 2bpp and 4bpp rawvideo.
But I suspect that wasn't your question...


> shouldn't we use a specific pixel format for this (PIX_FMT_PALETTE4/2)?

I was under the impression (nearly) everybody agrees 
we already have too many pix_fmts...
And I believe supporting decoding of completely obsolete 
formats is sufficient (but encoding samples that cannot be 
decoded is a problem).

Carl Eugen

More information about the ffmpeg-devel mailing list