diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-06-19 14:44:55 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-07-28 16:37:16 +0200 |
commit | 8cbf229c941b3c77a756bff05d0ceb5f4f2219c5 (patch) | |
tree | b8da0e8d1f9aaaf2bfc446934535777692b52ffc /fftools/ffmpeg.c | |
parent | a04d83181acf67c408f93092da27278be1d2c4a3 (diff) |
fftools/ffmpeg: drop the -vol option
It has been deprecated in favor of the volume filter since 2012.
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r-- | fftools/ffmpeg.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 9b50c8b26c..497b8982f4 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -2840,10 +2840,6 @@ static int init_output_stream_streamcopy(OutputStream *ost) switch (par_dst->codec_type) { case AVMEDIA_TYPE_AUDIO: - if (audio_volume != 256) { - av_log(NULL, AV_LOG_FATAL, "-acodec copy and -vol are incompatible (frames are not decoded)\n"); - exit_program(1); - } if((par_dst->block_align == 1 || par_dst->block_align == 1152 || par_dst->block_align == 576) && par_dst->codec_id == AV_CODEC_ID_MP3) par_dst->block_align= 0; if(par_dst->codec_id == AV_CODEC_ID_AC3) |