Build ffmpeg with 'CONFIG_SAFE_BITSTREAM_READER' on macOS.

This commit is contained in:
John Preston 2021-05-10 16:45:21 +04:00
parent 0cb32181c5
commit d79fab8b3c
1 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,8 @@ Go to ***BuildPath*** and run
cp ../patches/macos_yasm_wrap.sh ./
./configure --prefix=/usr/local/macos \
--extra-cflags="$MIN_VER $UNGUARDED" \
--extra-cxxflags="$MIN_VER $UNGUARDED" \
--extra-cflags="$MIN_VER $UNGUARDED -DCONFIG_SAFE_BITSTREAM_READER=1" \
--extra-cxxflags="$MIN_VER $UNGUARDED -DCONFIG_SAFE_BITSTREAM_READER=1" \
--extra-ldflags="$MIN_VER" \
--x86asmexe=`pwd`/macos_yasm_wrap.sh \
--enable-protocol=file \