ffmpeg_opt: Delete duplicate “hwaccel_output_format” option.
authorJun Zhao <mypopydev@gmail.com>
Fri, 24 Jun 2016 07:06:08 +0000 (15:06 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 20 Jul 2016 10:07:38 +0000 (12:07 +0200)
Delete duplicate “hwaccel_output_format” option.

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
ffmpeg_opt.c

index 7785a30..68bd090 100644 (file)
@@ -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