Skip to content

Commit

Permalink
Compatible with nvcc 1.0x compilation in ffmpeg4-xma
Browse files Browse the repository at this point in the history
  • Loading branch information
Keukhan committed Oct 17, 2024
1 parent 76e918f commit 2ab6070
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions misc/prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ab6070

Please sign in to comment.