From 116a4e241861dd35a61a822adb7badc42e8c81ee Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 19 Jan 2018 19:58:10 +0100 Subject: build system improved --- code/test/vid/Makefile | 2 +- code/test/vid/client.c | 2 +- code/test/vid/server.c | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'code/test') diff --git a/code/test/vid/Makefile b/code/test/vid/Makefile index 3f95b39..03fdaba 100644 --- a/code/test/vid/Makefile +++ b/code/test/vid/Makefile @@ -14,7 +14,7 @@ cap: cap.o enc.o tools.o server.o $(CC) -o $@ $< enc.o tools.o server.o $(dep) -lvpx $(LDFLAGS) client: client.o display.o tools.o - $(CC) -o $@ $< display.o tools.o $(dep) $(LDFLAGS) -lvpx -lSDL2 + $(CC) -o $@ $< display.o tools.o $(dep) -lvpx -lSDL2 $(LDFLAGS) clean: rm -f *.o diff --git a/code/test/vid/client.c b/code/test/vid/client.c index dd2839c..017967b 100644 --- a/code/test/vid/client.c +++ b/code/test/vid/client.c @@ -116,7 +116,7 @@ int main(int argc, char *argv[]) { if (!rv) rv = ecp_vconn_open(&conn, &node, &vconn, &vconn_node, 1); printf("ecp_vconn_open RV:%d\n", rv); - + sdl_loop(); sdl_close(&sdl_canvas); if (vpx_codec_destroy(&codec)) die_codec(&codec, "Failed to destroy codec"); diff --git a/code/test/vid/server.c b/code/test/vid/server.c index d8177f1..9d43b7a 100644 --- a/code/test/vid/server.c +++ b/code/test/vid/server.c @@ -72,6 +72,5 @@ int init_server(char *address, char *my_key, char *vcs_key) { if (!rv) rv = ecp_conn_open(&conn, &node); printf("ecp_conn_open RV:%d\n", rv); - return rv; } -- cgit v1.2.3