From 64a13744e4831c9e89d8c927c7b35d2079eabefc Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Wed, 26 May 2021 10:27:54 +0200 Subject: [PATCH] Update build.sh --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index 83938ed..d7b5b9a 100644 --- a/build.sh +++ b/build.sh @@ -172,6 +172,7 @@ function build_zimg { function build_x264 { git clone https://code.videolan.org/videolan/x264.git $SRC/x264 cd $SRC/x264 + sed -i 's/#define X264_API_IMPORTS 1/\/\/#define X264_API_IMPORTS 1/g' ../ffmpeg/libavcodec/libx264.c #git checkout b5bc5d69c580429ff716bafcd43655e855c31b02 #f9af2a0f71d0fca7c1cafa7657f03a302da0ca1c CC=cl ./configure --prefix=$BUILD --disable-cli --enable-static --enable-pic --libdir=$BUILD/lib