[Android] [PATCH 3/7] jni: Link against libfaad too

Edward Wang edward.c.wang at compdigitec.com
Sun Jul 15 22:27:30 CEST 2012


This links properly so that linker errors don't occur:

modules/codec/faad.c:264: undefined reference to `NeAACDecInit2'
modules/codec/faad.c:320: undefined reference to `NeAACDecDecode'
---
 vlc-android/jni/Android.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vlc-android/jni/Android.mk b/vlc-android/jni/Android.mk
index ca3b56e..255221a 100644
--- a/vlc-android/jni/Android.mk
+++ b/vlc-android/jni/Android.mk
@@ -28,7 +28,7 @@ LOCAL_LDLIBS := -L$(VLC_CONTRIB)/lib \
 	$(VLC_BUILD_DIR)/compat/.libs/libcompat.a \
 	-ldl -lz -lm -llog \
 	-ldvbpsi -lebml -lmatroska -ltag \
-	-logg -lFLAC -ltheora \
+	-logg -lFLAC -ltheora -lfaad \
 	-lmpeg2 -ldca -la52 \
 	-lavformat -lavcodec -lswscale -lavutil -lpostproc -lgsm -lopenjpeg \
 	-lliveMedia -lUsageEnvironment -lBasicUsageEnvironment -lgroupsock \
-- 
1.7.5.4



More information about the Android mailing list