[FFmpeg-cvslog] avformat/http: fix tls/tcp protocol after a 302 move in https

Rodger Combs git at videolan.org
Mon Aug 4 03:49:21 CEST 2014


ffmpeg | branch: master | Rodger Combs <rodger.combs at gmail.com> | Fri Aug  1 20:37:27 2014 -0400| [c2a170ac0ddd53516d004cd2bf55ceaffa59642a] | committer: Michael Niedermayer

avformat/http: fix tls/tcp protocol after a 302 move in https

Fixes ticket 3824

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c2a170ac0ddd53516d004cd2bf55ceaffa59642a
---

 libavformat/http.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/http.c b/libavformat/http.c
index 33585b0..3dffaee 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;



More information about the ffmpeg-cvslog mailing list