diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-11-02 20:23:47 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-11-02 20:23:47 +0000 |
commit | d71ad089ef6ee97aa5fe332430e98e1368c148cc (patch) | |
tree | 24125512950079f6865090f455e778e18fad44f6 | |
parent | ad9feac9fb1a55b41fb2cc21832fad1109e37bda (diff) | |
download | ffmpeg-d71ad089ef6ee97aa5fe332430e98e1368c148cc.tar.gz |
Add PIX_FMT_PAL flag to BGR8, BGR4_BYTE, RGB8, and RGB4_BYTE formats.
Originally committed as revision 20434 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/pixdesc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 7e8cea76c6..e86e32cf02 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -215,6 +215,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { {0,0,1,3,2}, /* G */ {0,0,1,0,2}, /* R */ }, + .flags = PIX_FMT_PAL, }, [PIX_FMT_BGR4] = { .name = "bgr4", @@ -238,6 +239,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { {0,0,1,1,1}, /* G */ {0,0,1,0,0}, /* R */ }, + .flags = PIX_FMT_PAL, }, [PIX_FMT_RGB8] = { .name = "rgb8", @@ -249,6 +251,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { {0,0,1,3,2}, /* G */ {0,0,1,0,2}, /* B */ }, + .flags = PIX_FMT_PAL, }, [PIX_FMT_RGB4] = { .name = "rgb4", @@ -272,6 +275,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { {0,0,1,1,1}, /* G */ {0,0,1,0,0}, /* B */ }, + .flags = PIX_FMT_PAL, }, [PIX_FMT_NV12] = { .name = "nv12", |