diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-03-31 18:41:39 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-03-31 18:41:39 +0000 |
commit | f938cbf984dc51adc135fca0c1d3dbe5bd8e72ee (patch) | |
tree | 09fcff1413ae539012d1a96f52373d278c488008 | |
parent | eb39fb512a728e6b1a4b7a72a2960a341ce2c1a5 (diff) | |
download | ffmpeg-f938cbf984dc51adc135fca0c1d3dbe5bd8e72ee.tar.gz |
Change the order of the components for RGB565LE and RGB565BE,
to make them resemble the order in the name: BGR <-> RGB.
Originally committed as revision 18279 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/pixdesc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/pixdesc.c b/libavcodec/pixdesc.c index 139341540b..c6b1d8d313 100644 --- a/libavcodec/pixdesc.c +++ b/libavcodec/pixdesc.c @@ -160,9 +160,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,1,1,0,4}, /* B */ - {0,1,1,5,5}, /* G */ {0,1,2,3,4}, /* R */ + {0,1,1,5,5}, /* G */ + {0,1,1,0,4}, /* B */ }, }, [PIX_FMT_RGB565BE] = { @@ -171,9 +171,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,1,1,0,4}, /* B */ - {0,1,1,5,5}, /* G */ {0,1,0,3,4}, /* R */ + {0,1,1,5,5}, /* G */ + {0,1,1,0,4}, /* B */ }, .flags = PIX_FMT_BE, }, |