ffmpeg-7 has changed API which causes build to fail: /mnt/tmpfs/portage/media-libs/libquicktime-1.2.4-r5/work/libquicktime-1.2.4/plugins/ffmpeg/audio.c: In function ‘lqt_ffmpeg_decode_audio’: /mnt/tmpfs/portage/media-libs/libquicktime-1.2.4-r5/work/libquicktime-1.2.4/plugins/ffmpeg/audio.c:974:17: error: ‘AVCodecContext’ has no member named ‘channels’ 974 | codec->avctx->channels = quicktime_track_channels(file, track); | ^~ /mnt/tmpfs/portage/media-libs/libquicktime-1.2.4-r5/work/libquicktime-1.2.4/plugins/ffmpeg/audio.c: In function ‘lqt_ffmpeg_encode_audio’: /mnt/tmpfs/portage/media-libs/libquicktime-1.2.4-r5/work/libquicktime-1.2.4/plugins/ffmpeg/audio.c:1205:17: error: ‘AVCodecContext’ has no member named ‘channels’ 1205 | codec->avctx->channels = channels; | ^~ /mnt/tmpfs/portage/media-libs/libquicktime-1.2.4-r5/work/libquicktime-1.2.4/plugins/ffmpeg/audio.c:1232:49: error: ‘AVCodecContext’ has no member named ‘channels’ 1232 | * codec->avctx->channels); | ^~ Builds fine with the ffmpeg7 patch from Arch Linux package comments (see URL).
Also 2 of the current ffmpeg patches in portage tree are applying with fuzz: * Applying libquicktime-1.2.4-ffmpeg29.patch ... patching file plugins/ffmpeg/video.c Hunk #6 succeeded at 402 with fuzz 2. Hunk #7 succeeded at 440 with fuzz 2. * Applying libquicktime-1.2.4-ffmpeg-codecs.patch ... patching file plugins/ffmpeg/audio.c Hunk #1 succeeded at 631 (offset 5 lines). Hunk #2 succeeded at 700 (offset 5 lines). Hunk #3 succeeded at 811 (offset 5 lines). Hunk #4 succeeded at 871 (offset 5 lines). Hunk #5 succeeded at 914 (offset 5 lines). Hunk #6 succeeded at 991 (offset 5 lines). Hunk #7 succeeded at 1000 (offset 5 lines). Hunk #8 succeeded at 1500 (offset 5 lines). patching file plugins/ffmpeg/video.c Hunk #1 succeeded at 400 with fuzz 2. Hunk #2 succeeded at 438 with fuzz 2.