summaryrefslogtreecommitdiff
path: root/package/mplayer/patches/patch-stream_asf_streaming_c
blob: 4fa3b696b186e777f944c3463eb92fc4f3608e71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- mplayer-1.0-32749.orig/stream/asf_streaming.c	2011-01-03 11:26:52.000000000 +0100
+++ mplayer-1.0-32749/stream/asf_streaming.c	2011-07-29 17:54:35.013424616 +0200
@@ -38,7 +38,6 @@
 
 #include "stream.h"
 #include "libmpdemux/demuxer.h"
-#include "asf_mmst_streaming.h"
 #include "network.h"
 #include "tcp.h"
 
@@ -87,16 +86,6 @@ static int asf_streaming_start( stream_t
 		if( fd==-2 ) return -1;
 	}
 
-    //Is protocol mms or mmst?
-    if (!strcasecmp(proto, "mmst") || !strcasecmp(proto, "mms"))
-    {
-		mp_msg(MSGT_NETWORK,MSGL_V,"Trying ASF/TCP...\n");
-		fd = asf_mmst_streaming_start( stream );
-		stream->streaming_ctrl->url->port = port;
-		if( fd>-1 ) return fd;
-		mp_msg(MSGT_NETWORK,MSGL_V,"  ===> ASF/TCP failed\n");
-		if( fd==-2 ) return -1;
-	}
 
     //Is protocol http, http_proxy, or mms?
     if (!strcasecmp(proto, "http_proxy") || !strcasecmp(proto, "http") ||