mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 23:36:59 -05:00
Fixed Windows compile of VOIP.
This commit is contained in:
parent
9bbdefa48a
commit
738dadadc9
@ -24,6 +24,9 @@ linux-* {
|
|||||||
}
|
}
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
|
# ffmpeg
|
||||||
|
QMAKE_CXXFLAGS += -D__STDC_CONSTANT_MACROS
|
||||||
|
|
||||||
LIBS_DIR = $$PWD/../../../libs
|
LIBS_DIR = $$PWD/../../../libs
|
||||||
LIBS += -L"$$LIBS_DIR/lib/opencv"
|
LIBS += -L"$$LIBS_DIR/lib/opencv"
|
||||||
|
|
||||||
|
@ -10,7 +10,11 @@
|
|||||||
#include "QVideoDevice.h"
|
#include "QVideoDevice.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
|
#if defined(__MINGW32__)
|
||||||
|
#define memalign _aligned_malloc
|
||||||
|
#endif //MINGW
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include <libavcodec/avcodec.h>
|
#include <libavcodec/avcodec.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user