aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS/netstream
diff options
context:
space:
mode:
authorGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-17 16:46:41 +0000
committerGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-17 16:46:41 +0000
commite3daf3ca75f6a596ec6b6e5b08b73389407a58d2 (patch)
tree95ae172c6716a1fe35ce98219547a3fa8216ba8c /TOOLS/netstream
parent83744e1bca75219173170bd6323597aa775625e6 (diff)
Respect -playlist for asx streams
Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12224 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS/netstream')
-rw-r--r--TOOLS/netstream/netstream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/TOOLS/netstream/netstream.c b/TOOLS/netstream/netstream.c
index a974ecf532..1d5b80ea62 100644
--- a/TOOLS/netstream/netstream.c
+++ b/TOOLS/netstream/netstream.c
@@ -41,6 +41,7 @@
#endif
#include <libmpdemux/stream.h>
+#include <libmpdemux/demuxer.h>
#include <mp_msg.h>
#include <bswap.h>
@@ -69,7 +70,7 @@ static int write_error(int fd,char* msg) {
}
static int net_stream_open(client_t* cl,char* url) {
- int file_format;
+ int file_format=DEMUXER_TYPE_UNKNOWN;
mp_net_stream_opened_t ret;
if(cl->stream) {