diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-28 23:49:06 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-29 19:23:02 +0100 |
commit | 8fac0d640341f1b26fed8c9af4c31cb9485d5fd5 (patch) | |
tree | bccf9a0ea2baf76819a5cd1895fe689ad79b703f /libavformat/aviobuf.c | |
parent | c323c98ee34861de1ef21a5d20fa1dec3eb436d9 (diff) |
avformat/avio: free url/avio options
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index b56d113e02..9851981cee 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -956,6 +956,7 @@ int avio_close(AVIOContext *s) av_log(s, AV_LOG_DEBUG, "Statistics: %d seeks, %d writeouts\n", s->seek_count, s->writeout_count); else av_log(s, AV_LOG_DEBUG, "Statistics: %"PRId64" bytes read, %d seeks\n", s->bytes_read, s->seek_count); + av_opt_free(s); av_free(s); return ffurl_close(h); } |