Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
8fac0d64
Commit
8fac0d64
authored
Jan 28, 2016
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/avio: free url/avio options
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
c323c98e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
avio.c
libavformat/avio.c
+1
-0
aviobuf.c
libavformat/aviobuf.c
+1
-0
No files found.
libavformat/avio.c
View file @
8fac0d64
...
...
@@ -412,6 +412,7 @@ int ffurl_closep(URLContext **hh)
av_opt_free
(
h
->
priv_data
);
av_freep
(
&
h
->
priv_data
);
}
av_opt_free
(
h
);
av_freep
(
hh
);
return
ret
;
}
...
...
libavformat/aviobuf.c
View file @
8fac0d64
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment