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
7915e674
Commit
7915e674
authored
Jan 22, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlsproto: Properly close avio buffer in case of error
Fix a memory leak. CC: libav-stable@libav.org Bug-Id: CID 717999
parent
4c5fa628
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
hlsproto.c
libavformat/hlsproto.c
+4
-2
No files found.
libavformat/hlsproto.c
View file @
7915e674
...
...
@@ -121,8 +121,10 @@ static int parse_playlist(URLContext *h, const char *url)
return
ret
;
read_chomp_line
(
in
,
line
,
sizeof
(
line
));
if
(
strcmp
(
line
,
"#EXTM3U"
))
return
AVERROR_INVALIDDATA
;
if
(
strcmp
(
line
,
"#EXTM3U"
))
{
ret
=
AVERROR_INVALIDDATA
;
goto
fail
;
}
free_segment_list
(
s
);
s
->
finished
=
0
;
...
...
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