summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-01-19 19:58:10 +0100
committerUros Majstorovic <majstor@majstor.org>2018-01-19 19:58:10 +0100
commit116a4e241861dd35a61a822adb7badc42e8c81ee (patch)
tree9ba5d1f2d570e271aee3cc852a7d1ae37682ebd9
parentc13c50158337520e0d81a101a3cf61960afa1d10 (diff)
build system improved
-rw-r--r--code/test/vid/Makefile2
-rw-r--r--code/test/vid/client.c2
-rw-r--r--code/test/vid/server.c1
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;
}