[FFmpeg-cvslog] pixdesc: BGRA64 is rgb pixel format

Paul B Mahol git at videolan.org
Fri Jun 8 12:50:54 CEST 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Jun  6 13:56:46 2012 +0000| [f4e0ec814b947a9f335dc4860b4d32cb3ec46d60] | committer: Paul B Mahol

pixdesc: BGRA64 is rgb pixel format

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f4e0ec814b947a9f335dc4860b4d32cb3ec46d60
---

 libavutil/pixdesc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index e73cf8d..e87deec 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -791,7 +791,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
             { 0, 7, 1, 0, 15 },       /* B */
             { 0, 7, 7, 0, 15 },       /* A */
         },
-        .flags = PIX_FMT_BE,
+        .flags = PIX_FMT_BE | PIX_FMT_RGB,
     },
     [PIX_FMT_BGRA64LE] = {
         .name = "bgra64le",
@@ -804,6 +804,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
             { 0, 7, 1, 0, 15 },       /* B */
             { 0, 7, 7, 0, 15 },       /* A */
         },
+        .flags = PIX_FMT_RGB,
     },
     [PIX_FMT_BGR565BE] = {
         .name = "bgr565be",



More information about the ffmpeg-cvslog mailing list