From ed5195c98bafcaebbe9926b7afd1fac375f3a971 Mon Sep 17 00:00:00 2001
From: Jacek Jendrzej <satbaby@kawaii.com>
Date: Thu, 20 Jul 2017 13:46:46 +0200
Subject: [PATCH] reset compressed header flag, fix http 302 request
Signed-off-by: Jacek Jendrzej <satbaby@kawaii.com>
---
libavformat/http.c | 1 +
1 file changed, 1 insertion(+)
@@ -1248,6 +1248,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.13.3