diff --git a/src/av.c b/src/av.c index c211abb..8d7326d 100644 --- a/src/av.c +++ b/src/av.c @@ -10,6 +10,7 @@ #include "settings.h" #include "connection.h" #include "decoder.h" +#include extern int a_running; extern int v_running; diff --git a/src/common.h b/src/common.h index ee221d4..f860959 100644 --- a/src/common.h +++ b/src/common.h @@ -9,8 +9,8 @@ #ifndef _COMMON_H_ #define _COMMON_H_ -#define APP_VER_INT 173 -#define APP_VER_STR "1.7.3" +#define APP_VER_INT 180 +#define APP_VER_STR "1.8.0" #define MSG_ERROR(str) ShowError("Error",str) #define MSG_LASTERROR(str) ShowError(str,strerror(errno)) diff --git a/src/droidcam.c b/src/droidcam.c index 01207bf..cfb6458 100644 --- a/src/droidcam.c +++ b/src/droidcam.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "common.h" #include "settings.h" @@ -149,7 +150,7 @@ static void Start(void) { if (g_settings.connection == CB_RADIO_ADB) { if (CheckAdbDevices(port) < 0) return; - ip = "127.0.0.1"; + ip = ADB_LOCALHOST_IP; } else if (g_settings.connection == CB_RADIO_IOS) { s = CheckiOSDevices(port); if (s <= 0) {