From a9cfb7d0705582134185b224ae98877cc135c978 Mon Sep 17 00:00:00 2001 From: Oleksandr Berezhnyi Date: Sat, 23 Oct 2021 13:13:52 +0300 Subject: [PATCH] Disabling all protocols except file and pipe --- scripts/ffmpeg/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/ffmpeg/build.sh b/scripts/ffmpeg/build.sh index bc7aee2..e643499 100755 --- a/scripts/ffmpeg/build.sh +++ b/scripts/ffmpeg/build.sh @@ -64,6 +64,9 @@ DEP_LD_FLAGS="-L${BUILD_DIR_EXTERNAL}/${ANDROID_ABI}/lib $FFMPEG_EXTRA_LD_FLAGS" --disable-pthreads \ --disable-network \ --disable-bsfs \ + --disable-protocols \ + --enable-protocol=file \ + --enable-protocol=pipe \ $ADDITIONAL_COMPONENTS || exit 1 ${MAKE_EXECUTABLE} clean