From d64ea1f00fe87d31c33ebdd07f47714e18217923 Mon Sep 17 00:00:00 2001 From: Jerry Dong Date: Wed, 5 Mar 2025 10:20:06 +0800 Subject: [PATCH] fix the ffmpeg build issue, patching in ffmpeg folder --- scripts/03_build_raisr_ffmpeg.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/03_build_raisr_ffmpeg.sh b/scripts/03_build_raisr_ffmpeg.sh index e24631a..cff1e3b 100755 --- a/scripts/03_build_raisr_ffmpeg.sh +++ b/scripts/03_build_raisr_ffmpeg.sh @@ -31,12 +31,14 @@ pushd "${raisr_path}" sudo -E ./build.sh popd + +# build ffmpeg +pushd "${raisr_path}/../ffmpeg" + # TO-DO: Remove patch apply from bellow lines: # Apply a temporary patch - this will be removed after version of FFmpeg gets updated patch -p1 -i "${REPOSITORY_DIR}/scripts/patch/ffmpeg/0001-avcodec-x86-mathops-clip-constants.patch" -# build ffmpeg -pushd "${raisr_path}/../ffmpeg" cp "${raisr_path}/ffmpeg/vf_raisr.c" libavfilter/ ./configure \