]> git.sesse.net Git - ffmpeg/commitdiff
pixdesc: mark gray8 as pseudopal
authorAnton Khirnov <anton@khirnov.net>
Sat, 4 May 2013 11:57:32 +0000 (13:57 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 22 May 2013 19:18:08 +0000 (21:18 +0200)
Many functions treat it as such already.
Fixes Bug 499.

CC:libav-stable@libav.org

libavutil/pixdesc.c

index 7127d5c36543cc13adb381995705880aa470227e..d5542a61d8e680f825d573d55058a9c7682661c6 100644 (file)
@@ -231,6 +231,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
         .comp = {
             { 0, 0, 1, 0, 7 },        /* Y */
         },
+        .flags = PIX_FMT_PSEUDOPAL,
     },
     [AV_PIX_FMT_MONOWHITE] = {
         .name = "monow",