diff options
Diffstat (limited to 'TOOLS')
-rw-r--r-- | TOOLS/netstream/netstream.c | 3 |
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) { |