diff --git a/build.sh b/build.sh index 690b9a0..32f546c 100644 --- a/build.sh +++ b/build.sh @@ -241,7 +241,6 @@ BUILD=`realpath build` SRC=`realpath src` git clone git://source.ffmpeg.org/ffmpeg.git $SRC/ffmpeg -git checkout release/4.3 build_nvenc build_amf @@ -260,6 +259,7 @@ build_x265 #build_aom cd $SRC/ffmpeg +git checkout release/4.3 PKG_CONFIG_PATH=$BUILD/lib/pkgconfig:$PKG_CONFIG_PATH ./configure --toolchain=msvc --extra-cflags="$CFLAGS -I$BUILD/include" --extra-ldflags="-LIBPATH:$BUILD/lib" --prefix=$BUILD --pkg-config-flags="--static" --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --disable-devices --disable-demuxers --disable-decoders --disable-network --enable-w32threads --enable-gpl $COMPONENTS sed -i 's/\x81/ue/g' config.h make -j $NUMBER_OF_PROCESSORS