This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avformat/hls: fix memory leak with non-http segments
Signed-off-by: Aman Gupta <aman@tmm1.net>
tags/n4.0
Aman Gupta
7 years ago
parent
3d95868d1b
commit
b33cf73507
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/hls.c
+ 1
- 1
libavformat/hls.c
View File
@@ -1497,7 +1497,7 @@ reload:
return ret;
}
if (c->http_persistent) {
if (c->http_persistent
&& av_strstart(seg->url, "http", NULL)
) {
v->input_read_done = 1;
} else {
ff_format_io_close(v->parent, &v->input);
Write
Preview
Loading…
Cancel
Save