diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-11-14 15:56:20 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-11-17 10:52:58 +0100 |
commit | b58264217b605d0e8f2ef1cf7d41396b6cb1617f (patch) | |
tree | 634f87a7d5cf0ffd75f71797a30cae8bd62e08e0 /fftools/ffmpeg_mux_init.c | |
parent | 13947aff3f7718c7985c73c52563d8dc6a3b1e24 (diff) | |
download | ffmpeg-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_mux_init.c')
-rw-r--r-- | fftools/ffmpeg_mux_init.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c index 277cbd1f64..db45fa09fa 100644 --- a/fftools/ffmpeg_mux_init.c +++ b/fftools/ffmpeg_mux_init.c @@ -1911,12 +1911,6 @@ int of_open(const OptionsContext *o, const char *filename) } } - if (!(oc->oformat->flags & AVFMT_NOSTREAMS) && !input_stream_potentially_available) { - av_log(NULL, AV_LOG_ERROR, - "No input streams but output needs an input stream\n"); - exit_program(1); - } - if (!(oc->oformat->flags & AVFMT_NOFILE)) { /* test if it already exists to avoid losing precious files */ assert_file_overwrite(filename); |