Update build_tc.sh

This commit is contained in:
Daniel Stankewitz 2019-01-22 07:46:45 +01:00 committed by GitHub
parent 21f08d65f7
commit 2b6d9f8fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,11 +145,11 @@ elif [ "$STEP" == "ffmpeg" ]; then
cd $SRC/ffmpeg cd $SRC/ffmpeg
ffbranch=$(git rev-parse --abbrev-ref HEAD) ffbranch=$(git rev-parse --abbrev-ref HEAD)
echo "Patching FFMpeg (Branch: $ffbranch) ..." echo "FFMpeg branch: $ffbranch ..."
if [ "$ffbranch" == "release/4.0" ]; then if [ "$ffbranch" == "release/4.0" ]; then
patch -N -p1 -i ../../patches/0001-dynamic-loading-of-shared-fdk-aac-library-4.0.patch patch -N -p1 -i ../../patches/0001-dynamic-loading-of-shared-fdk-aac-library-4.0.patch
patch -N -p0 -i ../../patches/0002-patch-ffmpeg-to-new-fdk-api.patch patch -N -p0 -i ../../patches/0002-patch-ffmpeg-to-new-fdk-api.patch
elif else
patch -N -p1 -i ../../patches/0001-dynamic-loading-of-shared-fdk-aac-library.patch patch -N -p1 -i ../../patches/0001-dynamic-loading-of-shared-fdk-aac-library.patch
fi fi