summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-19 14:01:06 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-19 14:01:45 +0200
commit3b0534efdcde122ace74196be8c22afd9b03c017 (patch)
treecf87b0aa070ca9279229dd0eb25096e03bca5d47 /ffmpeg.c
parent15fbf3e72a643b6b3d32ab6fa687ca2ca3d2fde1 (diff)
parent1959351aecf09fc3e90208ff775f4849801dc13f (diff)
Merge commit '1959351aecf09fc3e90208ff775f4849801dc13f'
* commit '1959351aecf09fc3e90208ff775f4849801dc13f': avconv: move the no streams failure to open_output_file() Merged-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index add660bcb8..8c07c94610 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2765,16 +2765,6 @@ static int transcode_init(void)
input_streams[j + ifile->ist_index]->start = av_gettime_relative();
}
- /* output stream init */
- for (i = 0; i < nb_output_files; i++) {
- oc = output_files[i]->ctx;
- if (!oc->nb_streams && !(oc->oformat->flags & AVFMT_NOSTREAMS)) {
- av_dump_format(oc, i, oc->filename, 1);
- av_log(NULL, AV_LOG_ERROR, "Output file #%d does not contain any stream\n", i);
- return AVERROR(EINVAL);
- }
- }
-
/* init complex filtergraphs */
for (i = 0; i < nb_filtergraphs; i++)
if ((ret = avfilter_graph_config(filtergraphs[i]->graph, NULL)) < 0)