]> git.sesse.net Git - ffmpeg/commitdiff
ffmpeg: remove dead code for -vol
authorGyan Doshi <ffmpeg@gyani.pro>
Sun, 31 Jan 2021 04:51:54 +0000 (10:21 +0530)
committerGyan Doshi <ffmpeg@gyani.pro>
Sun, 31 Jan 2021 11:51:32 +0000 (17:21 +0530)
It is applied via configure_input_audio_filter()

fftools/ffmpeg_filter.c

index e9e31e043ebaccbd1f78924aa3de80b8db7b5b4b..1cba3055cca901e74e2109eca14aa7f7bd3e806d 100644 (file)
@@ -641,13 +641,6 @@ static int configure_output_audio_filter(FilterGraph *fg, OutputFilter *ofilter,
         pad_idx = 0;
     }
 
-    if (audio_volume != 256 && 0) {
-        char args[256];
-
-        snprintf(args, sizeof(args), "%f", audio_volume / 256.);
-        AUTO_INSERT_FILTER("-vol", "volume", args);
-    }
-
     if (ost->apad && of->shortest) {
         char args[256];
         int i;