avformat/http: fix tls/tcp protocol after a 302 move in https
[ffmpeg.git] / libavformat / http.c
index 33585b0..3dffaee 100644 (file)
@@ -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;