diff --git a/ffmpeg.c b/ffmpeg.c index d3a4ec26c3..2056efad2c 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -1582,7 +1582,8 @@ static int av_encode(AVFormatContext **output_files, for(i=0;inb_streams) { - fprintf(stderr, "Output file does not contain any stream\n"); + dump_format(output_files[i], i, output_files[i]->filename, 1); + fprintf(stderr, "Output file #%d does not contain any stream\n", i); av_exit(1); } nb_ostreams += os->nb_streams;