summaryrefslogtreecommitdiff
path: root/libavformat/http.c
diff options
context:
space:
mode:
authorRodger Combs <rodger.combs@gmail.com>2014-08-01 20:37:27 -0400
committerMichael Niedermayer <michaelni@gmx.at>2014-08-04 03:33:40 +0200
commitc2a170ac0ddd53516d004cd2bf55ceaffa59642a (patch)
treebda3257a78dc500d1732a73c6ebb41b9c75d1a22 /libavformat/http.c
parent05ff1a2c05d3dccf9a07a62bcda15c1715907f85 (diff)
downloadffmpeg-c2a170ac0ddd53516d004cd2bf55ceaffa59642a.tar.gz
avformat/http: fix tls/tcp protocol after a 302 move in https
Fixes ticket 3824 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/http.c')
-rw-r--r--libavformat/http.c1
1 files changed, 1 insertions, 0 deletions
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;