fftools/ffmpeg_mux_init: drop an always-false check

It cannot be true since 1959351aec. Effectively reverts 6a3833e141.
This commit is contained in:
Anton Khirnov
2022-11-14 15:56:20 +01:00
parent 13947aff3f
commit b58264217b
4 changed files with 0 additions and 14 deletions

View File

@@ -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);