gentoo-ebuilds/media-sound/musescore/files/musescore-4.5.2-ffmpeg8.patch
Ionen Wolkens 086b307bee
media-sound/musescore: backport ffmpeg-8 build fix
There is a pending bump for this which may or may not have the fix
already (not looked), but I'd rather that this be handled by someone
that knows this package better. The patch is very trivial on the
other hand (enough to not need a revbump+re-stabilization too).

Closes: https://bugs.gentoo.org/964402
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2025-10-21 11:34:11 -04:00

12 lines
421 B
Diff

https://bugs.gentoo.org/964402
https://github.com/musescore/MuseScore/pull/30579
--- a/src/importexport/videoexport/internal/videoencoder.cpp
+++ b/src/importexport/videoexport/internal/videoencoder.cpp
@@ -128,3 +128,7 @@
#endif
+#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(60, 31, 102)
m_ffmpeg->codecCtx->profile = FF_PROFILE_H264_HIGH;
+#else
+ m_ffmpeg->codecCtx->profile = AV_PROFILE_H264_HIGH;
+#endif