diff options
author | mannol <eniz_vukovic@hotmail.com> | 2014-02-15 22:02:38 +0100 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2014-02-16 19:11:55 -0500 |
commit | b47ae4f5951d89331ed3b8b305926eccbb6db394 (patch) | |
tree | 2a9de5dfe9bb2cc00587e80c1445c2225e0d5ddf | |
parent | 99b1b108dcc4ba724e3a7368d1136b50827c7d49 (diff) |
Try this fix
-rw-r--r-- | toxav/Makefile.inc | 4 | ||||
-rwxr-xr-x | toxav/phone.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/toxav/Makefile.inc b/toxav/Makefile.inc index 0472d361..578b6ffc 100644 --- a/toxav/Makefile.inc +++ b/toxav/Makefile.inc | |||
@@ -61,7 +61,9 @@ phone_LDADD = libtoxav.la \ | |||
61 | $(AVDEVICE_LIBS) \ | 61 | $(AVDEVICE_LIBS) \ |
62 | $(SWSCALE_LIBS) \ | 62 | $(SWSCALE_LIBS) \ |
63 | $(SDL_LIBS) \ | 63 | $(SDL_LIBS) \ |
64 | $(OPENAL_LIBS) | 64 | $(OPENAL_LIBS) \ |
65 | $(OPUS_LIBS) \ | ||
66 | $(VPX_LIBS) | ||
65 | 67 | ||
66 | 68 | ||
67 | endif \ No newline at end of file | 69 | endif \ No newline at end of file |
diff --git a/toxav/phone.c b/toxav/phone.c index 7806727d..92d16906 100755 --- a/toxav/phone.c +++ b/toxav/phone.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #endif /* HAVE_CONFIG_H */ | 35 | #endif /* HAVE_CONFIG_H */ |
36 | 36 | ||
37 | #define _BSD_SOURCE | 37 | #define _BSD_SOURCE |
38 | #define _GNU_SOURCE | ||
39 | 38 | ||
40 | #include <stdio.h> | 39 | #include <stdio.h> |
41 | #include <string.h> | 40 | #include <string.h> |
@@ -904,7 +903,7 @@ av_session_t* av_init_session() | |||
904 | INFO("Enter capture device number"); | 903 | INFO("Enter capture device number"); |
905 | 904 | ||
906 | char dev[2]; char* left; | 905 | char dev[2]; char* left; |
907 | fgets(dev, 2, stdin); | 906 | char* warned_ = fgets(dev, 2, stdin); |
908 | long selection = strtol(dev, &left, 10); | 907 | long selection = strtol(dev, &left, 10); |
909 | 908 | ||
910 | if ( *left ) { | 909 | if ( *left ) { |