]> git.sesse.net Git - ffmpeg/commitdiff
avformat/http: clarify that ffmpeg will attempt to add missing CRLF
authorGyan Doshi <ffmpeg@gyani.pro>
Mon, 28 Jan 2019 06:50:02 +0000 (12:20 +0530)
committerGyan Doshi <ffmpeg@gyani.pro>
Tue, 29 Jan 2019 04:28:30 +0000 (09:58 +0530)
libavformat/http.c

index 240304f6e65c70800461c054ba24f7475fb1122e..a0a0636cf29553c3120e19e2865116a7f0d8310b 100644 (file)
@@ -541,7 +541,7 @@ static int http_open(URLContext *h, const char *uri, int flags,
         int len = strlen(s->headers);
         if (len < 2 || strcmp("\r\n", s->headers + len - 2)) {
             av_log(h, AV_LOG_WARNING,
-                   "No trailing CRLF found in HTTP header.\n");
+                   "No trailing CRLF found in HTTP header. Adding it.\n");
             ret = av_reallocp(&s->headers, len + 3);
             if (ret < 0)
                 return ret;