[FFmpeg-cvslog] http: Change an error log message to a warning

Martin Storsjö git at videolan.org
Fri Nov 11 02:53:04 CET 2011


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Nov  9 01:14:05 2011 +0200| [8ef79f42cadb0f6eefb033c62422d4c87f260cda] | committer: Martin Storsjö

http: Change an error log message to a warning

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8ef79f42cadb0f6eefb033c62422d4c87f260cda
---

 libavformat/http.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/http.c b/libavformat/http.c
index 326ed0f..783ac6a 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -161,7 +161,7 @@ static int http_open(URLContext *h, const char *uri, int flags)
     if (s->headers) {
         int len = strlen(s->headers);
         if (len < 2 || strcmp("\r\n", s->headers + len - 2))
-            av_log(h, AV_LOG_ERROR, "No trailing CRLF found in HTTP header.\n");
+            av_log(h, AV_LOG_WARNING, "No trailing CRLF found in HTTP header.\n");
     }
 
     return http_open_cnx(h);



More information about the ffmpeg-cvslog mailing list