Fixed Windows compile of VOIP.

This commit is contained in:
thunder2 2015-09-03 16:33:50 +02:00
parent 9bbdefa48a
commit 738dadadc9
2 changed files with 7 additions and 0 deletions

View File

@ -24,6 +24,9 @@ linux-* {
}
win32 {
# ffmpeg
QMAKE_CXXFLAGS += -D__STDC_CONSTANT_MACROS
LIBS_DIR = $$PWD/../../../libs
LIBS += -L"$$LIBS_DIR/lib/opencv"

View File

@ -10,7 +10,11 @@
#include "QVideoDevice.h"
#include <math.h>
#include <time.h>
#if defined(__MINGW32__)
#define memalign _aligned_malloc
#endif //MINGW
extern "C" {
#include <libavcodec/avcodec.h>