project-slippi / Ishiiruka

GNU General Public License v2.0
330 stars 142 forks source link

Fix build failure on Linux distros running FFmpeg 5.0 #340

Closed mkrasnitski closed 2 years ago

mkrasnitski commented 2 years ago

There was a recent libx264 version bump which requires rebuilding on some Linux distros, for example Arch. Also, FFmpeg 5.0 ships a new libavformat version which removed some things marked deprecated, resulting in a failed build. This is a backport fix from mainline that addresses that problem while maintaining compatibility with old lib versions cross-platform.