[FFmpeg-cvslog] r10509 - trunk/ffmpeg.c
ramiro
subversion
Sun Sep 16 20:08:02 CEST 2007
Author: ramiro
Date: Sun Sep 16 20:08:01 2007
New Revision: 10509
Log:
Split av_exit() out of main()
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Sun Sep 16 20:08:01 2007
@@ -3789,6 +3789,8 @@ static void show_help(void)
av_opt_show(sws_opts, NULL);
}
+static int av_exit();
+
int main(int argc, char **argv)
{
int i;
@@ -3830,6 +3832,13 @@ int main(int argc, char **argv)
printf("bench: utime=%0.3fs\n", ti / 1000000.0);
}
+ return av_exit();
+}
+
+static int av_exit()
+{
+ int i;
+
/* close files */
for(i=0;i<nb_output_files;i++) {
/* maybe av_close_output_file ??? */
More information about the ffmpeg-cvslog
mailing list