summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-04-15 16:34:38 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-15 16:34:38 +0000
commit37f5cd5a18a8e08a18814d1aca828c92ee398d10 (patch)
treec78ac7785164d08a131c82146f04acea1e3325fd
parent1008ceb38024dcfe202be2174ad33aa4a958d35a (diff)
10l (stats didnt include av_write_trailer())
Originally committed as revision 3015 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 6a353464c8..d1affc008e 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1677,15 +1677,15 @@ static int av_encode(AVFormatContext **output_files,
term_exit();
- /* dump report by using the first video and audio streams */
- print_report(output_files, ost_table, nb_ostreams, 1);
-
/* write the trailer if needed and close file */
for(i=0;i<nb_output_files;i++) {
os = output_files[i];
av_write_trailer(os);
}
+ /* dump report by using the first video and audio streams */
+ print_report(output_files, ost_table, nb_ostreams, 1);
+
/* close each encoder */
for(i=0;i<nb_ostreams;i++) {
ost = ost_table[i];