aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg_opt.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-11-14 15:56:20 +0100
committerAnton Khirnov <anton@khirnov.net>2022-11-17 10:52:58 +0100
commitb58264217b605d0e8f2ef1cf7d41396b6cb1617f (patch)
tree634f87a7d5cf0ffd75f71797a30cae8bd62e08e0 /fftools/ffmpeg_opt.c
parent13947aff3f7718c7985c73c52563d8dc6a3b1e24 (diff)
downloadffmpeg-b58264217b605d0e8f2ef1cf7d41396b6cb1617f.tar.gz
fftools/ffmpeg_mux_init: drop an always-false check
It cannot be true since 1959351aecf. Effectively reverts 6a3833e1411.
Diffstat (limited to 'fftools/ffmpeg_opt.c')
-rw-r--r--fftools/ffmpeg_opt.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 5ab296828b..61aa0be0ab 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -95,7 +95,6 @@ static int no_file_overwrite = 0;
#if FFMPEG_OPT_PSNR
int do_psnr = 0;
#endif
-int input_stream_potentially_available = 0;
int ignore_unknown_streams = 0;
int copy_unknown_streams = 0;
int recast_media = 0;
@@ -1114,8 +1113,6 @@ static int opt_filter_complex(void *optctx, const char *opt, const char *arg)
if (!fg->graph_desc)
return AVERROR(ENOMEM);
- input_stream_potentially_available = 1;
-
return 0;
}
@@ -1130,8 +1127,6 @@ static int opt_filter_complex_script(void *optctx, const char *opt, const char *
fg->index = nb_filtergraphs - 1;
fg->graph_desc = graph_desc;
- input_stream_potentially_available = 1;
-
return 0;
}