git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8e733a
)
lavf/applehttp: add log message in case of applehttp_read_header() failure
author
Stefano Sabatini
<stefasab@gmail.com>
Sat, 14 Jan 2012 01:49:38 +0000
(
02:49
+0100)
committer
Stefano Sabatini
<stefasab@gmail.com>
Fri, 29 Jun 2012 12:50:27 +0000
(14:50 +0200)
Improve error reporting.
libavformat/hls.c
patch
|
blob
|
history
diff --git
a/libavformat/hls.c
b/libavformat/hls.c
index
40c417a
..
1449f40
100644
(file)
--- 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;