summaryrefslogtreecommitdiffstats
path: root/TOOLS/netstream
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS/netstream')
-rw-r--r--TOOLS/netstream/Makefile3
-rw-r--r--TOOLS/netstream/netstream.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/TOOLS/netstream/Makefile b/TOOLS/netstream/Makefile
index e07505dde5..1f5173c106 100644
--- a/TOOLS/netstream/Makefile
+++ b/TOOLS/netstream/Makefile
@@ -19,6 +19,7 @@ all: netstream
# FIXME: linking is a mess that should be fixed properly some day
# it does not work with either GUI, live.com or libavformat enabled
DEPS = $(MPROOT)/libmpdemux/libmpdemux.a \
+ $(MPROOT)/stream/stream.a \
$(MPROOT)/libmpdvdkit2/libmpdvdkit.a \
$(MPROOT)/libmpcodecs/native/minilzo.o \
$(MPROOT)/libvo/aclib.o \
@@ -45,7 +46,7 @@ ifeq ($(TARGET_WIN32),yes)
DEPS += $(MPROOT)/osdep/glob-win.o $(WIN32_LIB) -lwsock32
endif
-netstream: $(MPROOT)/libmpdemux/libmpdemux.a netstream.o
+netstream: $(MPROOT)/libmpdemux/libmpdemux.a $(MPROOT)/libmpdemux/stream.a netstream.o
$(CC) $(CFLAGS) netstream.o -o netstream $(DEPS)
diff --git a/TOOLS/netstream/netstream.c b/TOOLS/netstream/netstream.c
index 73a0bec1d5..0f8b698436 100644
--- a/TOOLS/netstream/netstream.c
+++ b/TOOLS/netstream/netstream.c
@@ -41,13 +41,13 @@
#include <ws2tcpip.h>
#endif
-#include <libmpdemux/stream.h>
+#include <stream/stream.h>
#include <libmpdemux/demuxer.h>
#include <mp_msg.h>
#include <bswap.h>
/// Netstream packets def and some helpers
-#include <libmpdemux/netstream.h>
+#include <stream/netstream.h>
//Set some standard variables