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

Michael Niedermayer git at videolan.org
Sat Jun 7 21:40:53 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat May 31 05:02:35 2014 +0200| [5affab960cd50c6cf83ba05e3c24b3e6c1a9e733] | committer: Michael Niedermayer

ffmpeg_opt: remove unused variable and undocumented and not working command line option

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 ffmpeg_opt.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index aabcfc0..15a82bf 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;
@@ -2875,8 +2874,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" },



More information about the ffmpeg-cvslog mailing list