# HG changeset patch # User stefano # Date 1267662466 0 # Node ID f01741b79070a543ebd8ad9348938384e95d32ed # Parent ccac021c9a8e027314a0b134a5405946da2ff01d Declare the PIX_FMT_GRAY8 pixel format as a paletted format. This is consistent with the allocation currently done for PIX_FMT_GRAY8 pictures. No significant slow-downs have been measured. See the thread: Subject: [FFmpeg-devel] [PATCH] Is gray8 a paletted format? Date: Sun, 15 Nov 2009 23:36:03 +0100 diff -r ccac021c9a8e -r f01741b79070 pixdesc.c --- a/pixdesc.c Wed Mar 03 17:31:24 2010 +0000 +++ b/pixdesc.c Thu Mar 04 00:27:46 2010 +0000 @@ -199,6 +199,7 @@ .comp = { {0,0,1,0,7}, /* Y */ }, + .flags = PIX_FMT_PAL, }, [PIX_FMT_MONOWHITE] = { .name = "monow",