summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/asf_mmst_streaming.c4
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);