10l (stats didnt include av_write_trailer())

Originally committed as revision 3015 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-04-15 16:34:38 +00:00
parent 1008ceb380
commit 37f5cd5a18
1 changed files with 3 additions and 3 deletions

View File

@ -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];