diff options
-rw-r--r-- | libavformat/hls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c index 5dadcfcc29..3805ed6dba 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -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); |