Merge pull request #91 from AsamK/fix_opensuse_compile

Fix opensuse compile
This commit is contained in:
Cyril Soler 2015-09-04 13:48:58 -04:00
commit 7385dd12ac
2 changed files with 11 additions and 7 deletions

View File

@ -19,8 +19,12 @@ INCLUDEPATH += ../../retroshare-gui/src/temp/ui ../../libretroshare/src
#################################### Windows #####################################
linux-* {
INCLUDEPATH += /usr/include
LIBS += $$system(pkg-config --libs opencv)
CONFIG += link_pkgconfig
# Necessary for openSUSE
PKGCONFIG += libavcodec libavutil
PKGCONFIG += opencv
}
win32 {
@ -100,4 +104,4 @@ TRANSLATIONS += \
lang/VOIP_tr.ts \
lang/VOIP_zh_CN.ts
LIBS += -lspeex -lspeexdsp -lavformat -lavcodec -lavutil
LIBS += -lspeex -lspeexdsp -lavcodec -lavutil

View File

@ -20,11 +20,11 @@ extern "C" {
#include <libavcodec/avcodec.h>
#include <libavutil/opt.h>
#include <libavutil/channel_layout.h>
#include <libavutil/common.h>
//#include <libavutil/channel_layout.h>
//#include <libavutil/common.h>
#include <libavutil/imgutils.h>
#include <libavutil/mathematics.h>
#include <libavutil/samplefmt.h>
//#include <libavutil/mathematics.h>
//#include <libavutil/samplefmt.h>
}
//#define DEBUG_MPEG_VIDEO 1