Originally committed as revision 15870 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini authored on 2008/11/18 08:27:05... | ... |
@@ -1582,7 +1582,8 @@ static int av_encode(AVFormatContext **output_files, |
1582 | 1582 |
for(i=0;i<nb_output_files;i++) { |
1583 | 1583 |
os = output_files[i]; |
1584 | 1584 |
if (!os->nb_streams) { |
1585 |
- fprintf(stderr, "Output file does not contain any stream\n"); |
|
1585 |
+ dump_format(output_files[i], i, output_files[i]->filename, 1); |
|
1586 |
+ fprintf(stderr, "Output file #%d does not contain any stream\n", i); |
|
1586 | 1587 |
av_exit(1); |
1587 | 1588 |
} |
1588 | 1589 |
nb_ostreams += os->nb_streams; |