[FFmpeg-cvslog] avprobe: free options at the end of main()

Janne Grunau git at videolan.org
Wed May 16 02:30:33 CEST 2012


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Mon May 14 12:39:41 2012 +0200| [31f2c0231f2294145fcc24717c0127c040dc0c48] | committer: Janne Grunau

avprobe: free options at the end of main()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=31f2c0231f2294145fcc24717c0127c040dc0c48
---

 avprobe.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/avprobe.c b/avprobe.c
index a3c1f80..0233ea9 100644
--- a/avprobe.c
+++ b/avprobe.c
@@ -491,6 +491,9 @@ int main(int argc, char **argv)
 
     ret = probe_file(input_filename);
 
+    uninit_opts();
+    av_dict_free(&fmt_entries_to_show);
+
     avformat_network_deinit();
 
     return ret;



More information about the ffmpeg-cvslog mailing list