Commit e47d6af197 for ffmpeg

commit e47d6af1972b1e1e0d0f3c41917af2ce2405bfe5
Author: Romain Beauxis <romain.beauxis@gmail.com>
Date:   Thu Nov 19 22:09:44 2026 -0600

    tests/fate/gapless: add iTunes mp3 remux test

    The reference records the current behavior: the remuxed file starts
    529 samples into the decoded output, while Core Audio starts the
    original at 1057.

diff --git a/tests/fate/gapless.mak b/tests/fate/gapless.mak
index 068a55fd06..bb5109997e 100644
--- a/tests/fate/gapless.mak
+++ b/tests/fate/gapless.mak
@@ -31,6 +31,11 @@ fate-gapless-mp3-itunes: CMD = gapless $(TARGET_SAMPLES)/gapless/gapless-itunes.
 FATE_GAPLESSINFO_PROBE-$(call ALLYES, MP3_DEMUXER FILE_PROTOCOL) += fate-gapless-mp3-itunes-side-data
 fate-gapless-mp3-itunes-side-data: CMD = ffprobe_demux $(TARGET_SAMPLES)/gapless/gapless-itunes.mp3 -show_entries packet=pts:packet_side_data:stream=codec_name,start_pts,start_time,duration_ts,duration:format=start_time,duration

+# The iTunSMPB priming and padding of this sample have to survive a remux,
+# which stores them in the LAME tag.
+FATE_GAPLESSENC_PROBE-$(call ALLYES, MP3_DEMUXER MP3_MUXER NULL_MUXER) += fate-gapless-mp3-itunes-remux
+fate-gapless-mp3-itunes-remux: CMD = transcode mp3 $(TARGET_SAMPLES)/gapless/gapless-itunes.mp3 mp3 "-c copy" "-c copy" "-of compact -show_entries stream=start_pts,duration_ts" "" "" "" null
+
 FATE_GAPLESS-$(call DEMDEC, MP3, MP3, ARESAMPLE_FILTER WAV_MUXER) += fate-audiomatch-square-mp3
 fate-audiomatch-square-mp3: CMD = audio_match $(TARGET_SAMPLES)/audiomatch/square3.mp3 $(SAMPLES)/audiomatch/square3.wav

diff --git a/tests/ref/fate/gapless-mp3-itunes-remux b/tests/ref/fate/gapless-mp3-itunes-remux
new file mode 100644
index 0000000000..ed52801ef6
--- /dev/null
+++ b/tests/ref/fate/gapless-mp3-itunes-remux
@@ -0,0 +1,3 @@
+4e886ae5b38188d171a61c19deabac0a *tests/data/fate/gapless-mp3-itunes-remux.mp3
+192081 tests/data/fate/gapless-mp3-itunes-remux.mp3
+stream|start_pts=169280|duration_ts=134063680