[FFmpeg-cvslog] r13760 - trunk/ffmpeg.c

stefano subversion
Fri Jun 13 00:07:18 CEST 2008


Author: stefano
Date: Fri Jun 13 00:07:17 2008
New Revision: 13760

Log:
Improve ffmpeg error reporting in case of input/output stream mismatch,
enabling a dump_format() of the mismatched output stream. 



Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Fri Jun 13 00:07:17 2008
@@ -1630,6 +1630,8 @@ static int av_encode(AVFormatContext **o
                         }
                     }
                     if (!found) {
+                        int i= ost->file_index;
+                        dump_format(output_files[i], i, output_files[i]->filename, 1);
                         fprintf(stderr, "Could not find input stream matching output stream #%d.%d\n",
                                 ost->file_index, ost->index);
                         av_exit(1);




More information about the ffmpeg-cvslog mailing list