Because, the URLContext of the aviocontext is null when custom IO is used,
If keepalive, that will cause the assertion to fail.
Signed-off-by: Lei He
---
libavformat/hls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 8ad08baaed.
On Thu, Sep 27, 2018 at 11:01:15AM +, He Lei wrote:
> The URLContext of the aviocontext is null when custom IO is used, If
> keepalive, that will cause the assertion to fail
>
> 592 static int open_url_keepalive(AVFormatContext *s, AVIOContext **pb,
> 593 cons
The URLContext of the aviocontext is null when custom IO is used, If
keepalive, that will cause the assertion to fail
592 static int open_url_keepalive(AVFormatContext *s, AVIOContext **pb,
593 const char *url)
594 {
595 #if !CONFIG_HTTP_PROTOCOL
596 return