OpenBoard-org / OpenBoard

OpenBoard is a cross-platform interactive whiteboard application intended for use in a classroom setting.
https://openboard.ch/
GNU General Public License v3.0
2.24k stars 412 forks source link

Support FFmpeg 7.0 #1017

Open Vekhir opened 1 week ago

Vekhir commented 1 week ago

With FFmpeg 7.0 entering Arch Linux extra-testing, it's a good time to get support for it in OpenBoard.

This PR fixes the compilation errors and resolves related warnings. The proposed alternatives are available since 5.1 at least, so the pragmas could be lowered to get rid of warnings in previous versions - I've elected to keep the change as small as possible, so the fix only applies to version 7.0.

I'd like to have this commit merged before Arch upgrades FFmpeg to general availability, though I don't have a timeline for when that will happen. A new release of OpenBoard is not necessary.

Fixes #1002

Vekhir commented 6 days ago

FFmpeg 7 has been released on Arch. Deviating from usual practice, I've updated the AUR package with this patch to keep it building and allow OpenBoard to continue running. I don't expect any issues.