[Mplayer-cvslog] CVS: main/libmpdemux asf_mmst_streaming.c, 1.23, 1.24

Roberto Togni CVS syncmail at mplayerhq.hu
Sun Aug 8 01:48:37 CEST 2004


CVS change done by Roberto Togni CVS

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

Modified Files:
	asf_mmst_streaming.c 
Log Message:
Use port number embedded in url for mms streams
Patch by Bertrand Baudet


Index: asf_mmst_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_mmst_streaming.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- asf_mmst_streaming.c	2 Jul 2004 20:36:50 -0000	1.23
+++ asf_mmst_streaming.c	7 Aug 2004 23:48:35 -0000	1.24
@@ -491,7 +491,9 @@
   path=unescpath;
   
 
-  url1->port=1755;
+  if( url1->port==0 ) {
+	url1->port=1755;
+  }
   s = connect2Server( url1->hostname, url1->port, 1);
   if( s<0 ) {
 	  free(path);




More information about the MPlayer-cvslog mailing list