PR #24206 opened by James Almer (jamrial)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24206
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24206.patch

This ensures the fixed decoder has the same coverage as the float one.


>From b2d4fe3367f6b466630e288d48a675b621c1f2a2 Mon Sep 17 00:00:00 2001
From: James Almer <[email protected]>
Date: Tue, 18 Aug 2026 23:28:27 -0300
Subject: [PATCH] fate/tests/ac3: add missing eac3 fixed tests

This ensures the fixed decoder has the same coverage as the float one.

Signed-off-by: James Almer <[email protected]>
---
 tests/fate/ac3.mak | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

diff --git a/tests/fate/ac3.mak b/tests/fate/ac3.mak
index 70aa4f4568..df6aef39e1 100644
--- a/tests/fate/ac3.mak
+++ b/tests/fate/ac3.mak
@@ -63,11 +63,27 @@ FATE_EAC3 += fate-eac3-5
 fate-eac3-5: CMD = pcm -i $(TARGET_SAMPLES)/eac3/the_great_wall_7.1.eac3
 fate-eac3-5: REF = $(SAMPLES)/eac3/the_great_wall_7.1.pcm
 
+FATE_EAC3_FIXED += fate-eac3-fixed-1
+fate-eac3-fixed-1: CMD = pcm -c:a ac3_fixed -i 
$(TARGET_SAMPLES)/eac3/csi_miami_5.1_256_spx_small.eac3
+fate-eac3-fixed-1: REF = $(SAMPLES)/eac3/csi_miami_5.1_256_spx_small_v2.pcm
+
+FATE_EAC3_FIXED += fate-eac3-fixed-2
+fate-eac3-fixed-2: CMD = pcm -c:a ac3_fixed -i 
$(TARGET_SAMPLES)/eac3/csi_miami_stereo_128_spx_small.eac3
+fate-eac3-fixed-2: REF = $(SAMPLES)/eac3/csi_miami_stereo_128_spx_small_v2.pcm
+
+FATE_EAC3_FIXED += fate-eac3-fixed-3
+fate-eac3-fixed-3: CMD = pcm -c:a ac3_fixed -i 
$(TARGET_SAMPLES)/eac3/matrix2_commentary1_stereo_192_small.eac3
+fate-eac3-fixed-3: REF = 
$(SAMPLES)/eac3/matrix2_commentary1_stereo_192_small_v2.pcm
+
+FATE_EAC3_FIXED += fate-eac3-fixed-4
+fate-eac3-fixed-4: CMD = pcm -c:a ac3_fixed -i 
$(TARGET_SAMPLES)/eac3/serenity_english_5.1_1536_small.eac3
+fate-eac3-fixed-4: REF = $(SAMPLES)/eac3/serenity_english_5.1_1536_small_v2.pcm
+
 # the fixed decoder has to keep the overlap of the independent substream when
 # the dependent substream uses a different coefficient format
-FATE_EAC3_FIXED += fate-eac3-fixed-dependent-substream
-fate-eac3-fixed-dependent-substream: CMD = pcm -c ac3_fixed -i 
$(TARGET_SAMPLES)/eac3/the_great_wall_7.1.eac3
-fate-eac3-fixed-dependent-substream: REF = 
$(SAMPLES)/eac3/the_great_wall_7.1.pcm
+FATE_EAC3_FIXED += fate-eac3-fixed-5
+fate-eac3-fixed-5: CMD = pcm -c:a ac3_fixed -i 
$(TARGET_SAMPLES)/eac3/the_great_wall_7.1.eac3
+fate-eac3-fixed-5: REF = $(SAMPLES)/eac3/the_great_wall_7.1.pcm
 
 $(FATE_AC3) $(FATE_EAC3) $(FATE_EAC3_FIXED): CMP = oneoff
 
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to