[Mplayer-cvslog] CVS: main/libmpdemux asf_streaming.c,1.43,1.44

Roberto Togni CVS syncmail at mplayerhq.hu
Sun Apr 25 14:41:03 CEST 2004


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv5637

Modified Files:
	asf_streaming.c 
Log Message:
Don't say that a protocol is unsupported if that's not true
Patch by adland


Index: asf_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_streaming.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- asf_streaming.c	17 Apr 2004 16:47:52 -0000	1.43
+++ asf_streaming.c	25 Apr 2004 12:41:01 -0000	1.44
@@ -85,6 +85,9 @@
 		if( fd==-2 ) return -1;
 	}
 
+        if (!strncasecmp( proto_s, "mms", 3) ||  !strncasecmp( proto_s, "http", 4) || !strncasecmp( proto_s, "mmst", 4) || !strncasecmp( proto_s, "http_proxy", 10) )
+        mp_msg(MSGT_NETWORK,MSGL_ERR,"Used protocol %s\n",proto_s );
+	else
 	mp_msg(MSGT_NETWORK,MSGL_ERR,"Unknown protocol: %s\n", proto_s );
 	return -1;
 }




More information about the MPlayer-cvslog mailing list