summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-09 19:34:46 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-09 19:34:46 +0000
commitfd020fc4f71650e8e38a750f99355890d51dbda8 (patch)
tree79f41fcf1e0e5a52f00dc34a995d74e54a48ae0f /stream
parent5129d87b431e942f9b087103ddd794b4d07dc6a3 (diff)
downloadmpv-fd020fc4f71650e8e38a750f99355890d51dbda8.tar.bz2
mpv-fd020fc4f71650e8e38a750f99355890d51dbda8.tar.xz
Fix potential endless loop in http_streaming_start due
to not resetting redirect. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21557 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/http.c b/stream/http.c
index c6ea70edb4..17613e71df 100644
--- a/stream/http.c
+++ b/stream/http.c
@@ -731,6 +731,7 @@ static int http_streaming_start(stream_t *stream, int* file_format) {
do
{
+ redirect = 0;
if (fd > 0) closesocket(fd);
fd = http_send_request( url, 0 );
if( fd<0 ) {