Commit 52dd8a45b7 for ffmpeg
commit 52dd8a45b7b9ac2e9f14e85f57a65b55b020223e
Author: liuyun <hfliuyun@gmail.com>
Date: Thu Oct 22 16:27:47 2026 +0800
fate/probe: test a WAV containing fake MPEG-TS sync bytes
The sample is the first 2048 bytes of the file from #25221, with the
RIFF and data sizes fixed up. It is 16 kHz mono s16le silence except
for ten 47 00 00 10 sequences at a 192-byte stride, which mpegts_probe()
scored AVPROBE_SCORE_MAX, so it was probed as mpegts and failed to open.
Signed-off-by: liuyun <hfliuyun@gmail.com>
diff --git a/tests/fate/probe.mak b/tests/fate/probe.mak
index 1bde37b0ab..a82fb91c50 100644
--- a/tests/fate/probe.mak
+++ b/tests/fate/probe.mak
@@ -35,6 +35,9 @@ fate-probe-format-tiff-not-mpegts: REF = tiff_pipe
FATE_PROBE_FORMAT-$(call ALLYES, IMAGE_JPEG_PIPE_DEMUXER CAVSVIDEO_DEMUXER) += fate-probe-format-jpeg-not-cavsvideo
fate-probe-format-jpeg-not-cavsvideo: REF = jpeg_pipe
+FATE_PROBE_FORMAT-$(call ALLYES, WAV_DEMUXER MPEGTS_DEMUXER) += fate-probe-format-wav-not-mpegts
+fate-probe-format-wav-not-mpegts: REF = wav
+
FATE_PROBE_FORMAT = $(FATE_PROBE_FORMAT-yes)
FATE_SAMPLES_FFPROBE += $(FATE_PROBE_FORMAT)