From c5b6c6229be5d22736ef58c7b6dde7a95c7be352 Mon Sep 17 00:00:00 2001 From: ibaker Date: Tue, 24 Sep 2019 11:02:51 +0100 Subject: [PATCH] Simplify the ffmpeg build instructions a little In-line EXOPLAYER_ROOT which only has one reference. And change FFMPEG_EXT_PATH to always include "/jni" PiperOrigin-RevId: 270866662 --- extensions/ffmpeg/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/extensions/ffmpeg/README.md b/extensions/ffmpeg/README.md index dd9ce38d35..3348f7cffb 100644 --- a/extensions/ffmpeg/README.md +++ b/extensions/ffmpeg/README.md @@ -25,8 +25,7 @@ follows: ``` cd "" -EXOPLAYER_ROOT="$(pwd)" -FFMPEG_EXT_PATH="${EXOPLAYER_ROOT}/extensions/ffmpeg/src/main" +FFMPEG_EXT_PATH="$(pwd)/extensions/ffmpeg/src/main/jni" ``` * Download the [Android NDK][] and set its location in an environment variable. @@ -69,7 +68,7 @@ COMMON_OPTIONS="\ --enable-decoder=opus \ --enable-decoder=flac \ " && \ -cd "${FFMPEG_EXT_PATH}/jni" && \ +cd "${FFMPEG_EXT_PATH}" && \ (git -C ffmpeg pull || git clone git://source.ffmpeg.org/ffmpeg ffmpeg) && \ cd ffmpeg && git checkout release/4.0 && \ ./configure \ @@ -112,7 +111,7 @@ make clean built in the previous step. For example: ``` -cd "${FFMPEG_EXT_PATH}"/jni && \ +cd "${FFMPEG_EXT_PATH}" && \ ${NDK_PATH}/ndk-build APP_ABI="armeabi-v7a arm64-v8a x86" -j4 ```