Hi!

Attached patch fixes ticket #6666.

Please comment, Carl Eugen
From 479e3b2097a73a918f0c62cb6e3d661f9e71c5d0 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceffm...@gmail.com>
Date: Thu, 14 Sep 2017 23:21:53 +0200
Subject: [PATCH] lavf/http: Reset encoding on redirect.

Fixes ticket #6666.
---
 libavformat/http.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/http.c b/libavformat/http.c
index 30890bb..d835f22 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -287,6 +287,7 @@ redo:
         memset(&s->auth_state, 0, sizeof(s->auth_state));
         attempts         = 0;
         location_changed = 0;
+        s->compressed    = 0;
         goto redo;
     }
     return 0;
-- 
1.7.10.4

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to