[FFmpeg-cvslog] pixdesc: Replace a few leftover instances of non AV-prefixed flags

Vittorio Giovara git at videolan.org
Tue Mar 24 01:55:25 CET 2015


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Mar 18 11:10:39 2015 +0000| [592a04054e6423be5050efd2bceece48b10b9c1d] | committer: Vittorio Giovara

pixdesc: Replace a few leftover instances of non AV-prefixed flags

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

 libavutil/pixdesc.c |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index bd72c04..f991370 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -1462,7 +1462,8 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
             { 2, 0, 1, 0, 7 },        /* R */
             { 3, 0, 1, 0, 7 },        /* A */
         },
-        .flags = PIX_FMT_PLANAR | PIX_FMT_RGB | PIX_FMT_ALPHA,
+        .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB |
+                 AV_PIX_FMT_FLAG_ALPHA,
     },
     [AV_PIX_FMT_GBRAP16LE] = {
         .name = "gbrap16le",
@@ -1475,7 +1476,8 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
             { 2, 1, 1, 0, 15 },       /* R */
             { 3, 1, 1, 0, 15 },       /* A */
         },
-        .flags = PIX_FMT_PLANAR | PIX_FMT_RGB | PIX_FMT_ALPHA,
+        .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB |
+                 AV_PIX_FMT_FLAG_ALPHA,
     },
     [AV_PIX_FMT_GBRAP16BE] = {
         .name = "gbrap16be",
@@ -1488,7 +1490,8 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
             { 2, 1, 1, 0, 15 },       /* R */
             { 3, 1, 1, 0, 15 },       /* A */
         },
-        .flags = PIX_FMT_BE | PIX_FMT_PLANAR | PIX_FMT_RGB | PIX_FMT_ALPHA,
+        .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR |
+                 AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,
     },
     [AV_PIX_FMT_VDPAU] = {
         .name = "vdpau",



More information about the ffmpeg-cvslog mailing list