[FFmpeg-devel] [PATCH] Remove duplicate initializers for VDA_VLD and GBR24P.

dalecurtis at chromium.org dalecurtis at chromium.org
Fri Mar 2 23:56:33 CET 2012


From: Dale Curtis <dalecurtis at chromium.org>

Noticed by the Chromium Mac clang build, http://crbug.com/116599

Signed-off-by: Dale Curtis <dalecurtis at chromium.org>
---
 libavutil/pixdesc.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index 8d4a27b..668d822 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -881,12 +881,6 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
         .log2_chroma_h = 1,
         .flags = PIX_FMT_HWACCEL,
     },
-    [PIX_FMT_VDA_VLD] = {
-        .name = "vda_vld",
-        .log2_chroma_w = 1,
-        .log2_chroma_h = 1,
-        .flags = PIX_FMT_HWACCEL,
-    },
     [PIX_FMT_YUV420P9LE] = {
         .name = "yuv420p9le",
         .nb_components = 3,
@@ -1123,16 +1117,6 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
             { 0, 1, 2, 0, 7 },        /* A */
         },
     },
-    [PIX_FMT_GBR24P] = {
-        .name = "gbr24p",
-        .nb_components= 3,
-        .comp = {
-            { 1, 0, 1, 0, 7 },        /* B */
-            { 0, 0, 1, 0, 7 },        /* G */
-            { 2, 0, 1, 0, 7 },        /* R */
-        },
-        .flags = PIX_FMT_PLANAR | PIX_FMT_RGB,
-    },
     [PIX_FMT_GBRP] = {
         .name = "gbrp",
         .nb_components = 3,
-- 
1.7.7.3



More information about the ffmpeg-devel mailing list