diff options
Diffstat (limited to 'code/test/vid')
-rw-r--r-- | code/test/vid/Makefile | 2 | ||||
-rw-r--r-- | code/test/vid/client.c | 2 | ||||
-rw-r--r-- | code/test/vid/server.c | 1 |
3 files changed, 2 insertions, 3 deletions
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; } |