http: Change an error log message to a warning

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2011-11-09 01:14:05 +02:00
parent 7590061eb7
commit 8ef79f42ca

View File

@ -161,7 +161,7 @@ static int http_open(URLContext *h, const char *uri, int flags)
if (s->headers) { if (s->headers) {
int len = strlen(s->headers); int len = strlen(s->headers);
if (len < 2 || strcmp("\r\n", s->headers + len - 2)) 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); return http_open_cnx(h);