diff options
author | Jacek Jendrzej <satbaby@kawaii.com> | 2017-07-20 13:46:46 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2017-09-15 13:33:23 +0200 |
commit | e2f8f14052d99d7710cda0a821e236765b315d0b (patch) | |
tree | a7a73168a95f4823b758e63b19c639a40886425b /libavformat/http.c | |
parent | eea64ef4cfb593cbe28465f45e6bd4c41a79cae1 (diff) | |
download | ffmpeg-e2f8f14052d99d7710cda0a821e236765b315d0b.tar.gz |
lavf/http: Reset compressed header flag, fix http 302 request
Fixes ticket #6404.
Fixes ticket #6666.
Signed-off-by: Jacek Jendrzej <satbaby@kawaii.com>
Diffstat (limited to 'libavformat/http.c')
-rw-r--r-- | libavformat/http.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index 30890bb7aa..f25977ab1f 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -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 |