Try this fix

This commit is contained in:
mannol 2014-02-15 22:02:38 +01:00
parent 99b1b108dc
commit b47ae4f595
2 changed files with 4 additions and 3 deletions

View File

@ -61,7 +61,9 @@ phone_LDADD = libtoxav.la \
$(AVDEVICE_LIBS) \
$(SWSCALE_LIBS) \
$(SDL_LIBS) \
$(OPENAL_LIBS)
$(OPENAL_LIBS) \
$(OPUS_LIBS) \
$(VPX_LIBS)
endif

View File

@ -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 ) {