From d79fab8b3c66c4e8a1c98f27dbd2868939850ba4 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 10 May 2021 16:45:21 +0400 Subject: [PATCH] Build ffmpeg with 'CONFIG_SAFE_BITSTREAM_READER' on macOS. --- docs/building-xcode.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/building-xcode.md b/docs/building-xcode.md index a684fc555b..f4ac055f9a 100644 --- a/docs/building-xcode.md +++ b/docs/building-xcode.md @@ -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 \