mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Try this fix
This commit is contained in:
parent
99b1b108dc
commit
b47ae4f595
|
@ -61,7 +61,9 @@ phone_LDADD = libtoxav.la \
|
|||
$(AVDEVICE_LIBS) \
|
||||
$(SWSCALE_LIBS) \
|
||||
$(SDL_LIBS) \
|
||||
$(OPENAL_LIBS)
|
||||
$(OPENAL_LIBS) \
|
||||
$(OPUS_LIBS) \
|
||||
$(VPX_LIBS)
|
||||
|
||||
|
||||
endif
|
|
@ -35,7 +35,6 @@
|
|||
#endif /* HAVE_CONFIG_H */
|
||||
|
||||
#define _BSD_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@ -904,7 +903,7 @@ av_session_t* av_init_session()
|
|||
INFO("Enter capture device number");
|
||||
|
||||
char dev[2]; char* left;
|
||||
fgets(dev, 2, stdin);
|
||||
char* warned_ = fgets(dev, 2, stdin);
|
||||
long selection = strtol(dev, &left, 10);
|
||||
|
||||
if ( *left ) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user