[FFmpeg-devel] [PATCH] opt: delete duplicate "hwaccel_output_format" option

Jun Zhao mypopydev at gmail.com
Wed Jul 20 05:53:29 EEST 2016


From d712488fd73bebaa8c8f38ee29b70aa34c1df7fa Mon Sep 17 00:00:00 2001
From: Jun Zhao <mypopydev at gmail.com>
Date: Fri, 24 Jun 2016 15:06:08 +0800
Subject: [PATCH] =?UTF-8?q?ffmpeg=5Fopt:=20Delete=20duplicate=20=E2=80=9Ch?=
 =?UTF-8?q?waccel=5Foutput=5Fformat=E2=80=9D=20option.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Delete duplicate “hwaccel_output_format” option.

Signed-off-by: Jun Zhao <mypopydev at gmail.com>
---
 ffmpeg_opt.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index 7785a30..68bd090 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -3384,9 +3384,6 @@ const OptionDef options[] = {
     { "hwaccel_output_format", OPT_VIDEO | OPT_STRING | HAS_ARG | OPT_EXPERT |
                           OPT_SPEC | OPT_INPUT,                                  { .off = OFFSET(hwaccel_output_formats) },
         "select output format used with HW accelerated decoding", "format" },
-    { "hwaccel_output_format", OPT_VIDEO | OPT_STRING | HAS_ARG | OPT_EXPERT |
-                          OPT_SPEC | OPT_INPUT,                                  { .off = OFFSET(hwaccel_output_formats) },
-        "select output format used with HW accelerated decoding", "format" },
 #if CONFIG_VDA || CONFIG_VIDEOTOOLBOX
     { "videotoolbox_pixfmt", HAS_ARG | OPT_STRING | OPT_EXPERT, { &videotoolbox_pixfmt}, "" },
 #endif
-- 
2.7.4



More information about the ffmpeg-devel mailing list