From 2ab60705763f0f10936e7ad7199e5e94342968be Mon Sep 17 00:00:00 2001 From: Keukhan Date: Thu, 17 Oct 2024 13:39:23 +0900 Subject: [PATCH] Compatible with nvcc 1.0x compilation in ffmpeg4-xma --- misc/prerequisites.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/prerequisites.sh b/misc/prerequisites.sh index f4c70f4ae..728d8e6b3 100755 --- a/misc/prerequisites.sh +++ b/misc/prerequisites.sh @@ -308,6 +308,8 @@ install_ffmpeg() # Download FFmpeg for xilinx video sdk 3.0 (rm -rf ${DIR} && mkdir -p ${DIR} && \ git clone --depth=1 --branch U30_GA_3 https://github.com/Xilinx/app-ffmpeg4-xma.git ${DIR}) || fail_exit "ffmpeg" + # Compatible with nvcc 11.x + (cd ${DIR} && sed -i 's/compute_30/compute_50/g' configure && sed -i 's/sm_30/sm_50/g' configure) || fail_exit "ffmpeg" fi # If there is an enable-nilogan option, add patch from libxcoder_logan-path