[Mplayer-cvslog] CVS: main/libmpdemux asf_streaming.c,1.35,1.36

Bertrand Baudet bertrand at mplayerhq.hu
Mon Jan 6 17:42:31 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv27609

Modified Files:
	asf_streaming.c 
Log Message:
10l bug...


Index: asf_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_streaming.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- asf_streaming.c	2 Jan 2003 15:38:26 -0000	1.35
+++ asf_streaming.c	6 Jan 2003 16:42:20 -0000	1.36
@@ -59,21 +59,21 @@
 		) {
 		mp_msg(MSGT_NETWORK,MSGL_V,"Trying ASF/HTTP...\n");
 		fd = asf_http_streaming_start( stream );
-		if( fd!=-1 ) return fd;
+		if( fd>-1 ) return fd;
 		mp_msg(MSGT_NETWORK,MSGL_V,"  ===> ASF/HTTP failed\n");
 		if( fd==-2 ) return -1;
 	}
 	if( !strncasecmp( proto_s, "mms", 3) && strncasecmp( proto_s, "mmst", 4) ) {
 		mp_msg(MSGT_NETWORK,MSGL_V,"Trying ASF/UDP...\n");
 		//fd = asf_mmsu_streaming_start( stream );
-		if( fd!=-1 ) return fd;
+		if( fd>-1 ) return fd;
 		mp_msg(MSGT_NETWORK,MSGL_V,"  ===> ASF/UDP failed\n");
 		if( fd==-2 ) return -1;
 	}
 	if( !strncasecmp( proto_s, "mms", 3) ) {
 		mp_msg(MSGT_NETWORK,MSGL_V,"Trying ASF/TCP...\n");
 		fd = asf_mmst_streaming_start( stream );
-		if( fd!=-1 ) return fd;
+		if( fd>-1 ) return fd;
 		mp_msg(MSGT_NETWORK,MSGL_V,"  ===> ASF/TCP failed\n");
 		if( fd==-2 ) return -1;
 	}



More information about the MPlayer-cvslog mailing list