[FFmpeg-devel] [PATCH] ffmpeg_opt: remove unused variable and undocumented and not working command line option

Michael Niedermayer michaelni at gmx.at
Sat May 31 06:24:18 CEST 2014


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 ffmpeg_opt.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index eeacf58..aad07b5 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -104,7 +104,6 @@ float max_error_rate  = 2.0/3;
 static int intra_only         = 0;
 static int file_overwrite     = 0;
 static int no_file_overwrite  = 0;
-static int video_discard      = 0;
 static int intra_dc_precision = 8;
 static int do_psnr            = 0;
 static int input_sync;
@@ -2857,8 +2856,6 @@ const OptionDef options[] = {
         "deprecated use -g 1" },
     { "vn",           OPT_VIDEO | OPT_BOOL  | OPT_OFFSET | OPT_INPUT | OPT_OUTPUT,{ .off = OFFSET(video_disable) },
         "disable video" },
-    { "vdt",          OPT_VIDEO | OPT_INT | HAS_ARG | OPT_EXPERT ,               { &video_discard },
-        "discard threshold", "n" },
     { "rc_override",  OPT_VIDEO | HAS_ARG | OPT_EXPERT  | OPT_STRING | OPT_SPEC |
                       OPT_OUTPUT,                                                { .off = OFFSET(rc_overrides) },
         "rate control override for specific intervals", "override" },
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list