[FFmpeg-cvslog] seek-test: free options dictionary after use

Janne Grunau git at videolan.org
Sat Oct 29 02:31:40 CEST 2011


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Fri Oct 28 19:22:27 2011 +0200| [c12ef64d699fb209f2474068368154e9fb9ecab0] | committer: Janne Grunau

seek-test: free options dictionary after use

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

 libavformat/seek-test.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/seek-test.c b/libavformat/seek-test.c
index 7710360..363be8a 100644
--- a/libavformat/seek-test.c
+++ b/libavformat/seek-test.c
@@ -81,6 +81,7 @@ int main(int argc, char **argv)
     filename = argv[1];
 
     ret = avformat_open_input(&ic, filename, NULL, &format_opts);
+    av_dict_free(&format_opts);
     if (ret < 0) {
         fprintf(stderr, "cannot open %s\n", filename);
         exit(1);



More information about the ffmpeg-cvslog mailing list