mirror of
https://github.com/wang-bin/QtAV.git
synced 2026-10-27 10:36:55 +08:00
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:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user