changeset 12968:55e13005ac30

Use port number embedded in url for mms streams Patch by Bertrand Baudet
author rtognimp
date Sat, 07 Aug 2004 23:48:35 +0000
parents 1dc4d1723f88
children e589db41eb34
files libmpdemux/asf_mmst_streaming.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/asf_mmst_streaming.c	Sat Aug 07 14:20:28 2004 +0000
+++ b/libmpdemux/asf_mmst_streaming.c	Sat Aug 07 23:48:35 2004 +0000
@@ -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);