Enabled swscale for android build

(cherry picked from commit 198548e3fb)
This commit is contained in:
akallabeth 2022-01-13 15:37:49 +01:00 committed by akallabeth
parent f703947f56
commit f676cfab1c
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ function build {
--enable-jni --enable-mediacodec \
--enable-shared \
--disable-stripping \
--disable-programs --disable-doc --disable-avdevice --disable-avfilter --disable-avformat --disable-swscale
--disable-programs --disable-doc --disable-avdevice --disable-avfilter --disable-avformat
common_run make clean
common_run make -j

View File

@ -152,7 +152,7 @@ do
--target $NDK_TARGET \
--tag $FFMPEG_TAG
fi
CMAKE_CMD_ARGS="$CMAKE_CMD_ARGS -DWITH_FFMPEG=ON"
CMAKE_CMD_ARGS="$CMAKE_CMD_ARGS -DWITH_FFMPEG=ON -DWITH_SWCALE=ON"
else
CMAKE_CMD_ARGS="$CMAKE_CMD_ARGS -DWITH_FFMPEG=OFF"
fi