[libav-stable] pixdesc: mark gray8 as pseudopal

Anton Khirnov git at libav.org
Wed May 22 21:33:39 CEST 2013


Module: libav
Branch: master
Commit: f36d7831d96aeb072db5a2b78892a534d96e288e

Author:    Anton Khirnov <anton at khirnov.net>
Committer: Anton Khirnov <anton at khirnov.net>
Date:      Sat May  4 13:57:32 2013 +0200

pixdesc: mark gray8 as pseudopal

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

CC:libav-stable at libav.org

---

 libavutil/pixdesc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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 libav-stable mailing list