projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ca5ece
)
Split av_exit() out of main()
author
Ramiro Polla
<ramiro.polla@gmail.com>
Sun, 16 Sep 2007 18:08:01 +0000
(18:08 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Sun, 16 Sep 2007 18:08:01 +0000
(18:08 +0000)
Originally committed as revision 10509 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
b980e37
..
1fdfaa1
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-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 ??? */