From cdf8257a1160560f93865b324f1779dc06ed96c1 Mon Sep 17 00:00:00 2001 From: luoye Date: Sun, 27 Aug 2023 17:03:08 +0800 Subject: [PATCH] bug fix encoder=libmp3lame --- scripts/ffmpeg/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/ffmpeg/build.sh b/scripts/ffmpeg/build.sh index fd96e98..cfd4032 100755 --- a/scripts/ffmpeg/build.sh +++ b/scripts/ffmpeg/build.sh @@ -30,7 +30,7 @@ do ADDITIONAL_COMPONENTS+=" --enable-encoder=libx264" ;; libmp3lame) - ADDITIONAL_COMPONENTS+=" --enable-decoder=mp3" + ADDITIONAL_COMPONENTS+=" --enable-encoder=libmp3lame" ;; *) echo "Unknown ADDITIONAL_COMPONENTS LIBARY_NAME: $LIBARY_NAME" @@ -72,6 +72,7 @@ DEP_LD_FLAGS="-L${BUILD_DIR_EXTERNAL}/${ANDROID_ABI}/lib $FFMPEG_EXTRA_LD_FLAGS" --disable-ffplay \ --disable-ffmpeg \ --disable-ffprobe \ + --disable-ffserver \ --disable-avdevice \ --disable-bsfs \ --disable-devices \ @@ -201,4 +202,4 @@ mkdir -p ${OUTPUT_CONFIG_HEADERS_DIR} cp config.h ${OUTPUT_CONFIG_HEADERS_DIR}/config.h ${FAM_STRIP} --strip-unneeded ${STATIC_LIB_DIR}/${OUTPUT_SO_NAME} - +