diff options
Diffstat (limited to 'toxav')
-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 ) { |