summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/asf_streaming.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/asf_streaming.c b/stream/asf_streaming.c
index 40ec466b55..9aba5c2a2c 100644
--- a/stream/asf_streaming.c
+++ b/stream/asf_streaming.c
@@ -864,6 +864,7 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
return STREAM_UNSUPPORTED;
}
+ if (*file_format != DEMUXER_TYPE_PLAYLIST)
*file_format = DEMUXER_TYPE_ASF;
stream->type = STREAMTYPE_STREAM;
fixup_network_stream_cache(stream);