We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 539849d commit b5492ebCopy full SHA for b5492eb
1 file changed
build_scripts/build_ffmpeg.sh
@@ -153,8 +153,17 @@ function build_one
153
154
if [ "$(uname)" == "Darwin" ]; then
155
brew install yasm nasm
156
-else
157
- sudo apt-get install -y yasm nasm
+else
+ # Install nasm >= 2.13 for libx264
158
+ if [ ! -d "nasm-2.13.03" ]; then
159
+ curl -LO 'http://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.xz'
160
+ tar -xf nasm-2.13.03.tar.xz
161
+ fi
162
+ pushd nasm-2.13.03
163
+ ./configure --prefix=/usr
164
+ make
165
+ sudo make install
166
+ popd
167
fi
168
169
if [ $ARCH == "native" ]
0 commit comments