[FFmpeg-devel] [PATCH] Is gray8 a paletted format?

Stefano Sabatini stefano.sabatini-lala
Sun Nov 15 23:36:03 CET 2009


Hi all,

I see that in imgconvert.c gray8 is treated like a paletted format:
check for example ff_set_systematic_pal() and ff_fill_pointer(), where
it is allocated space for its palette.

If gray8 can be considered a paletted format, then I suggest to apply
the attached patch, updating both the pixdesc array and the lsws
macro.

Regards.
-- 
FFmpeg = Fundamental and Fantastic Most Porno Erudite Gadget
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gray-is-pal.patch
Type: text/x-diff
Size: 936 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091115/ada6cc2c/attachment.patch>



More information about the ffmpeg-devel mailing list