[FFmpeg-cvslog] ffmpeg: remove dead code for -vol

Gyan Doshi git at videolan.org
Sun Jan 31 13:52:02 EET 2021


ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Sun Jan 31 10:39:54 2021 +0530| [d16b0a4bf0830db852ce404210e293f6ae26559f] | committer: Gyan Doshi

ffmpeg: remove dead code for -vol

It is applied via configure_input_audio_filter()

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

 fftools/ffmpeg_filter.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index e9e31e043e..1cba3055cc 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -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;



More information about the ffmpeg-cvslog mailing list