From f36d7831d96aeb072db5a2b78892a534d96e288e Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 4 May 2013 13:57:32 +0200 Subject: [PATCH] pixdesc: mark gray8 as pseudopal Many functions treat it as such already. Fixes Bug 499. CC:libav-stable@libav.org --- libavutil/pixdesc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 7127d5c365..d5542a61d8 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", -- 2.11.0