diff pixdesc.c @ 856:f01741b79070 libavutil

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
author stefano
date Thu, 04 Mar 2010 00:27:46 +0000
parents af688c6fa72f
children c88d7a5ffa24
line wrap: on
line diff
--- 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",