[FFmpeg-cvslog] avformat/http: clarify that ffmpeg will attempt to add missing CRLF

Gyan Doshi git at videolan.org
Tue Jan 29 06:35:52 EET 2019


ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Mon Jan 28 12:38:02 2019 +0530| [2e2b44baba575a33aa66796bc0a0f93070ab6c53] | committer: Gyan Doshi

avformat/http: clarify that ffmpeg will attempt to add missing CRLF

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

 libavformat/http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/http.c b/libavformat/http.c
index 240304f6e6..a0a0636cf2 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -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;



More information about the ffmpeg-cvslog mailing list