diff TOOLS/netstream/netstream.c @ 12223:e7c8200ffdc5

Respect -playlist for asx streams Patch by adland
author rtognimp
date Sat, 17 Apr 2004 16:46:41 +0000
parents d051cf39331e
children 3995d5cef8b3
line wrap: on
line diff
--- a/TOOLS/netstream/netstream.c	Sat Apr 17 16:11:26 2004 +0000
+++ b/TOOLS/netstream/netstream.c	Sat Apr 17 16:46:41 2004 +0000
@@ -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 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) {