diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-04 00:27:46 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-04 00:27:46 +0000 |
commit | ce7c7179001d955e6cd639094bfc8b13e563d9bd (patch) | |
tree | 9b16dd965a00ba600c251573899f1bf3a3004151 /libavutil | |
parent | c72625f29902bfd7f01184c3eb1c29c94ec2a648 (diff) | |
download | ffmpeg-ce7c7179001d955e6cd639094bfc8b13e563d9bd.tar.gz |
Declare the PIX_FMT_GRAY8 pixel format as a paletted format. This is
consistent with the allocation currently done for PIX_FMT_GRAY8
pictures.
No significant slow-downs have been measured.
See the thread:
Subject: [FFmpeg-devel] [PATCH] Is gray8 a paletted format?
Date: Sun, 15 Nov 2009 23:36:03 +0100
Originally committed as revision 22191 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/pixdesc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index e4ced8ebfa..4d86165da7 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -199,6 +199,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .comp = { {0,0,1,0,7}, /* Y */ }, + .flags = PIX_FMT_PAL, }, [PIX_FMT_MONOWHITE] = { .name = "monow", |