summaryrefslogtreecommitdiff
path: root/libavformat/hls.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-01-14 02:49:38 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-06-29 14:50:27 +0200
commitd9355a03f215be217e9cb15bf317bb27afa9b90c (patch)
tree43ea6ff20247cb77f02926ebf674992baeb6a9d9 /libavformat/hls.c
parente8e733adccf7794017c2c1d98a1f2a052900542e (diff)
lavf/applehttp: add log message in case of applehttp_read_header() failure
Improve error reporting.
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r--libavformat/hls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 40c417a199..1449f40bc6 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -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;