[FFmpeg-devel] [PATCH] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video

Mats Peterson matsp888 at yahoo.com
Sun Jan 31 23:22:33 CET 2016


On 01/31/2016 11:19 PM, Michael Niedermayer wrote:
> i think that default palette code could be removed if 1bpp->pal8
> isnt done when theres no palete
>
> also i dont think its just avi. The raw video decoder is potentially
> used for more than avi.
> mkv and nut come to mind as potential formats that might use the
> same codepath
>

Yes it is used for other file formats as well, but only AVI and 
QuickTime explicitly have a palettized 1 bpp mode (as far as I know), so 
they should use pal8 for 1 bpp, and not monow. Other formats aren't 
affected.

Mats



More information about the ffmpeg-devel mailing list