diff options
author | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-07 23:48:35 +0000 |
---|---|---|
committer | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-07 23:48:35 +0000 |
commit | 0ec2337e13f096926819e1908108a13b3335eab7 (patch) | |
tree | f4b2aa347609033b329549b1f99b0c69ea609636 /libmpdemux/asf_mmst_streaming.c | |
parent | f7e04468d6dec4bb64c1a20e6f30301d934115c7 (diff) | |
download | mpv-0ec2337e13f096926819e1908108a13b3335eab7.tar.bz2 mpv-0ec2337e13f096926819e1908108a13b3335eab7.tar.xz |
Use port number embedded in url for mms streams
Patch by Bertrand Baudet
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12969 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/asf_mmst_streaming.c')
-rw-r--r-- | libmpdemux/asf_mmst_streaming.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpdemux/asf_mmst_streaming.c b/libmpdemux/asf_mmst_streaming.c index ab6bc23ae3..da57fe2da9 100644 --- a/libmpdemux/asf_mmst_streaming.c +++ b/libmpdemux/asf_mmst_streaming.c @@ -491,7 +491,9 @@ int asf_mmst_streaming_start(stream_t *stream) path=unescpath; - url1->port=1755; + if( url1->port==0 ) { + url1->port=1755; + } s = connect2Server( url1->hostname, url1->port, 1); if( s<0 ) { free(path); |