Update build_tc.sh

This commit is contained in:
Daniel Stankewitz 2018-09-04 17:43:27 +02:00 committed by GitHub
parent 9ab1e115e7
commit 675d16df08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,17 +116,8 @@ elif [ "$STEP" == "ffmpeg" ]; then
echo "### Applying patches ..."
cd $SRC/ffmpeg
patch -N -p1 --dry-run --silent -i ../../patches/0001-dynamic-loading-of-shared-fdk-aac-library.patch
if [ $? -eq 0 ];
then
patch -N -p1 -i ../../patches/0001-dynamic-loading-of-shared-fdk-aac-library.patch
fi
patch -N -p1 --dry-run --silent -i ../../patches/0002-patch-ffmpeg-to-new-fdk-api.patch
if [ $? -eq 0 ];
then
patch -N -p1 -i ../../0002-patch-ffmpeg-to-new-fdk-api.patch
fi
patch -N -p0 -i ../../patches/0002-patch-ffmpeg-to-new-fdk-api.patch
echo "### Compiling FFMpeg ..."
cd $SRC/ffmpeg