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.
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.
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