[FFmpeg-cvslog] pixdesc: mark gray8 as pseudopal

Anton Khirnov git at videolan.org
Thu May 23 10:40:13 CEST 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat May  4 13:57:32 2013 +0200| [f36d7831d96aeb072db5a2b78892a534d96e288e] | committer: Anton Khirnov

pixdesc: mark gray8 as pseudopal

Many functions treat it as such already.
Fixes Bug 499.

CC:libav-stable at libav.org

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f36d7831d96aeb072db5a2b78892a534d96e288e
---

 libavutil/pixdesc.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index 7127d5c..d5542a6 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -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",



More information about the ffmpeg-cvslog mailing list