Update tools.func

This commit is contained in:
CanbiZ 2025-07-07 15:30:22 +02:00
parent 79d3bdbcef
commit 385d0dd596

View File

@ -1782,6 +1782,13 @@ function setup_ffmpeg() {
$STD make -j"$(nproc)"
$STD make install
echo "/usr/local/lib" >/etc/ld.so.conf.d/ffmpeg.conf
ldconfig
ldconfig -p | grep libavdevice >/dev/null || {
msg_error "libavdevice not registered with dynamic linker"
return 1
}
if ! command -v ffmpeg &>/dev/null; then
msg_error "FFmpeg installation failed"