[FFmpeg-devel] [PATCH] fixes the issue https://trac.ffmpeg.org/ticket/6338
Vineet Goel
vineetgoel at gmail.com
Mon May 1 10:31:34 EEST 2017
---
libavformat/http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/http.c b/libavformat/http.c
index 293a8a7..27b52fe 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -1094,7 +1094,7 @@ static int http_connect(URLContext *h, const char
*path, const char *local_path,
"Content-Type: %s\r\n", s->content_type);
if (!has_header(s->headers, "\r\nCookie: ") && s->cookies) {
char *cookies = NULL;
- if (!get_cookies(s, &cookies, path, hoststr) && cookies) {
+ if (!get_cookies(s, &cookies, local_path, hoststr) && cookies) {
len += av_strlcatf(headers + len, sizeof(headers) - len,
"Cookie: %s\r\n", cookies);
av_free(cookies);
--
2.1.4
More information about the ffmpeg-devel
mailing list