aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-05-04 13:57:32 +0200
committerReinhard Tartler <siretart@tauware.de>2013-05-31 23:00:31 +0200
commit10f77c165c3b3e881bb174a0f57dd62083639072 (patch)
tree03304508016ccad0ba57f26e52bc7873b223c238
parentaed12df7fe653c9eb0414cb612515ec321467bbc (diff)
downloadffmpeg-10f77c165c3b3e881bb174a0f57dd62083639072.tar.gz
pixdesc: mark gray8 as pseudopal
Many functions treat it as such already. Fixes Bug 499. CC:libav-stable@libav.org (cherry picked from commit f36d7831d96aeb072db5a2b78892a534d96e288e) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
-rw-r--r--libavutil/pixdesc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index 06d5defdba..31b7cf57c5 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",