]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/http.c
Merge commit '871b4f3654636ed64560e86b9faa33828d195ceb'
[ffmpeg] / libavformat / http.c
index 30890bb7aa03adf145e70f61fb7520bdb28221c2..668cd51986680c5e03ee3d4f7feadd87327efd5a 100644 (file)
@@ -1248,6 +1248,9 @@ 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;
+#if CONFIG_ZLIB
+    s->compressed       = 0;
+#endif
     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