fix linking ffmpeg library on android

When ffmpeg is built with --target-os=android there is no need for manual specification of library version. Actually, that only creates a problem when different version of libraries is compiled than specified here.

wiki page is updated to reflect this change:
https://github.com/wang-bin/QtAV/wiki/Make-app-for-Android
This commit is contained in:
Petar Koretić
2014-09-06 16:53:19 +02:00
parent d2d4922f48
commit 46202e734b
+1 -2
View File
@@ -98,8 +98,7 @@ win32 {
#UINT64_C: C99 math features, need -D__STDC_CONSTANT_MACROS in CXXFLAGS
DEFINES += __STDC_CONSTANT_MACROS
android: CONFIG += config_opensl
android: LIBS += -lavcodec-55 -lavformat-55 -lavutil-52 -lswscale-2
else: LIBS += -lavcodec -lavformat -lavutil -lswscale
LIBS += -lavcodec -lavformat -lavutil -lswscale
config_avfilter {
DEFINES += QTAV_HAVE_AVFILTER=1
android: LIBS += -lavfilter-4