From: Jacek Jendrzej <[email protected]>
This fixes redirects, where the original redirect response indicated
support for compression, while the actual redirected content didn't.
---
libavformat/http.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/http.c b/libavformat/http.c
index 00cf295001..ef52bc1034 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -682,6 +682,7 @@ static int http_connect(URLContext *h, const char *path,
const char *local_path,
s->willclose = 0;
s->end_chunked_post = 0;
s->end_header = 0;
+ s->compressed = 0;
if (post && !s->post_data && !send_expect_100) {
/* Pretend that it did work. We didn't read any header yet, since
* we've still to send the POST data, but the code calling this
--
2.11.0 (Apple Git-81)
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel