Commit d9355a03 authored by Stefano Sabatini's avatar Stefano Sabatini

lavf/applehttp: add log message in case of applehttp_read_header() failure

Improve error reporting.
parent e8e733ad
......@@ -519,6 +519,7 @@ static int hls_read_header(AVFormatContext *s)
* so avformat_close_input shouldn't be called. If
* avformat_open_input fails below, it frees and zeros the
* context, so it doesn't need any special treatment like this. */
av_log(s, AV_LOG_ERROR, "Error when loading first segment '%s'\n", v->segments[0]->url);
avformat_free_context(v->ctx);
v->ctx = NULL;
goto fail;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment