ThKattanek / emu64

C64 Emulator
https://www.thorsten-kattanek.de/index.php/projekte/emu64
GNU General Public License v2.0
38 stars 6 forks source link

Fix build with ffmpeg 6 #235

Closed Zirias closed 1 year ago

Zirias commented 1 year ago

This doesn't attempt to replace deprecated functions, it only replaces functions that are gone (avcodecencode[audio|video]2) with straight-forward replacement code.

It fixes the build with the latest 6.0 release and still builds fine with ffmpeg 4.4

ThKattanek commented 1 year ago

Compiling on my side is o.k. also cross-compiling with mxe. thx