Open hughmcmaster opened 2 years ago
This patch adds a preprocessor #define to ensure we only call the deprecated function av_register_all() when working with versions of libavformat older than 58.9.100.
The function av_register_all() was removed in ffmpeg 5.0.
Wouldn't it be easier to fix the broken check?
https://pkgs.rpmfusion.org/cgit/free/loudgain.git/plain/fix_ffmpeg5.patch
This patch adds a preprocessor #define to ensure we only call the deprecated function av_register_all() when working with versions of libavformat older than 58.9.100.
The function av_register_all() was removed in ffmpeg 5.0.