Building ffmpeg with SVT-AV1 support on Slackware 15.0 and current
Trying out compiling ffmpeg with SVT-AV1 support, and I ran into some compile issues with the SlackBuild from 15.0 and current.
I needed to apply the following patches from SVT-AV1 3.1.2 to ffmpeg to get around a compile error:
libavcodec/libsvtav1.c:438:61: warning: passing argument 2 of 'svt_av1_enc_init_handle' from incompatible pointer type [-Wincompatible-pointer-types]For ffmpeg 4, I applied ffmpeg_n5_fix.patch and for 6 I applied ffmpeg_n7_fix.patch successfully.