Mercurial > mplayer.hg
diff libmpdemux/asf_mmst_streaming.c @ 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 | cf145882979c |
children | a0bb374553a1 |
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);