mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Updated ms2 and android build to use renamed ffmepg libraries
This commit is contained in:
parent
3fda5955fd
commit
9bb6ac525b
4 changed files with 15 additions and 15 deletions
|
|
@ -27,10 +27,10 @@ include $(linphone-root-dir)/submodules/linphone/build/android/common.mk
|
|||
|
||||
ifeq ($(LINPHONE_VIDEO),1)
|
||||
LOCAL_SHARED_LIBRARIES += \
|
||||
libavcodecnoneon \
|
||||
libswscale \
|
||||
libavcore \
|
||||
libavutil
|
||||
liblinavcodecnoneon \
|
||||
liblinswscale \
|
||||
liblinavcore \
|
||||
liblinavutil
|
||||
endif
|
||||
|
||||
LOCAL_MODULE := liblinphonenoneon
|
||||
|
|
|
|||
|
|
@ -27,10 +27,10 @@ include $(linphone-root-dir)/submodules/linphone/build/android/common.mk
|
|||
|
||||
ifeq ($(LINPHONE_VIDEO),1)
|
||||
LOCAL_SHARED_LIBRARIES += \
|
||||
libavcodec \
|
||||
libswscale \
|
||||
libavcore \
|
||||
libavutil
|
||||
liblinavcodec \
|
||||
liblinswscale \
|
||||
liblinavcore \
|
||||
liblinavutil
|
||||
endif
|
||||
|
||||
LOCAL_MODULE := liblinphone
|
||||
|
|
|
|||
|
|
@ -40,19 +40,19 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory {
|
|||
|
||||
static {
|
||||
// FFMPEG (audio/video)
|
||||
loadOptionalLibrary("avutil");
|
||||
loadOptionalLibrary("swscale");
|
||||
loadOptionalLibrary("avcore");
|
||||
loadOptionalLibrary("linavutil");
|
||||
loadOptionalLibrary("linswscale");
|
||||
loadOptionalLibrary("linavcore");
|
||||
|
||||
System.loadLibrary("neon");
|
||||
|
||||
if (!hasNeonInCpuFeatures()) {
|
||||
boolean noNeonLibrariesLoaded = loadOptionalLibrary("avcodecnoneon");
|
||||
boolean noNeonLibrariesLoaded = loadOptionalLibrary("linavcodecnoneon");
|
||||
if (!noNeonLibrariesLoaded) {
|
||||
loadOptionalLibrary("avcodec");
|
||||
loadOptionalLibrary("linavcodec");
|
||||
}
|
||||
} else {
|
||||
loadOptionalLibrary("avcodec");
|
||||
loadOptionalLibrary("linavcodec");
|
||||
}
|
||||
|
||||
// OPENSSL (cryptography)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 05360396963de551078d3465ea8e5a8fa09c1cf2
|
||||
Subproject commit 407d6591e14bf90816b88e7615408230136b3de5
|
||||
Loading…
Add table
Reference in a new issue