OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bd280f
)
free options contexts in av_exit, valgrind should be happy now
author
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Mon, 13 Apr 2009 03:43:29 +0000
(
03:43
+0000)
committer
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Mon, 13 Apr 2009 03:43:29 +0000
(
03:43
+0000)
Originally committed as revision 18484 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
d7c9059
..
e908561
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-434,6
+434,11
@@
static int av_exit(int ret)
exit (255);
}
+ for (i=0;i<CODEC_TYPE_NB;i++)
+ av_free(avcodec_opts[i]);
+ av_free(avformat_opts);
+ av_free(sws_opts);
+
exit(ret); /* not all OS-es handle main() return value */
return ret;
}