From c2a170ac0ddd53516d004cd2bf55ceaffa59642a Mon Sep 17 00:00:00 2001 From: Rodger Combs Date: Fri, 1 Aug 2014 20:37:27 -0400 Subject: [PATCH] avformat/http: fix tls/tcp protocol after a 302 move in https Fixes ticket 3824 Signed-off-by: Michael Niedermayer --- libavformat/http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/http.c b/libavformat/http.c index 33585b0e6d..3dffaee43b 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -229,6 +229,7 @@ redo: memset(&s->auth_state, 0, sizeof(s->auth_state)); attempts = 0; location_changed = 0; + lower_proto = "tcp"; goto redo; } return 0;