Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

pixdesc: BGRA64 is rgb pixel format

Signed-off-by: Paul B Mahol <onemda@gmail.com>
  • Loading branch information...
commit f4e0ec814b947a9f335dc4860b4d32cb3ec46d60 1 parent 5b51efd
@richardpl richardpl authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  libavutil/pixdesc.c
View
3  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",
Please sign in to comment.
Something went wrong with that request. Please try again.