changeset 8823:557d34fe438a

10l bug...
author bertrand
date Mon, 06 Jan 2003 16:42:20 +0000
parents 7cd6450b3a2a
children 87e37d8cfb25
files libmpdemux/asf_streaming.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/asf_streaming.c	Mon Jan 06 14:56:16 2003 +0000
+++ b/libmpdemux/asf_streaming.c	Mon Jan 06 16:42:20 2003 +0000
@@ -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;
 	}