This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 19cae9151c0b053467f2c7f54735197962700d17 Author: Niklas Haas <[email protected]> AuthorDate: Fri Jan 23 10:25:01 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Sat Feb 7 10:02:36 2026 +0000 avformat/http: print error on HTTP response failure This currently fails silently with zero indication of what the problem might be, which tripped me up a bit while debugging. --- libavformat/http.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index f565e1e7fa..03f417100f 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1419,8 +1419,11 @@ static int http_read_header(URLContext *h) for (;;) { int parsed_http_code = 0; - if ((err = http_get_line(s, line, sizeof(line))) < 0) + if ((err = http_get_line(s, line, sizeof(line))) < 0) { + av_log(h, AV_LOG_ERROR, "Error reading HTTP response: %s\n", + av_err2str(err)); return err; + } av_log(h, AV_LOG_TRACE, "header='%s'\n", line); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
