diff mbox series

[FFmpeg-devel,v1.1,5/5] fate: add test for adpcm_swf in wav

Message ID 20201016081657.11939-1-zane@zanevaniperen.com
State Superseded
Headers show
Series Untitled series #2567
Related show

Commit Message

Zane van Iperen Oct. 16, 2020, 8:17 a.m. UTC
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
---
 tests/fate/acodec.mak          | 4 ++++
 tests/ref/acodec/adpcm-swf-wav | 4 ++++
 2 files changed, 8 insertions(+)
 create mode 100644 tests/ref/acodec/adpcm-swf-wav
diff mbox series

Patch

diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index 50932095dc..8ac71b1b27 100644
--- a/tests/fate/acodec.mak
+++ b/tests/fate/acodec.mak
@@ -52,6 +52,7 @@  FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_IMA_SSI, KVAG)     += ima_ssi
 FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_IMA_WAV, WAV)      += ima_wav
 FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_MS,      WAV)      += ms
 FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_SWF,     FLV)      += swf
+FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_SWF,     WAV)      += swf-wav
 FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_YAMAHA,  WAV)      += yamaha
 
 FATE_ACODEC_ADPCM := $(FATE_ACODEC_ADPCM-yes:%=fate-acodec-adpcm-%)
@@ -70,6 +71,9 @@  fate-acodec-adpcm-ms:      FMT = wav
 fate-acodec-adpcm-swf:     FMT = flv
 fate-acodec-adpcm-yamaha:  FMT = wav
 
+fate-acodec-adpcm-swf-wav: FMT   = wav
+fate-acodec-adpcm-swf-wav: CODEC = adpcm_swf
+
 FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_ADX,     ADX)  += adx
 FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_IMA_QT,  AIFF) += ima_qt
 FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_IMA_WAV, WAV)  += ima_wav
diff --git a/tests/ref/acodec/adpcm-swf-wav b/tests/ref/acodec/adpcm-swf-wav
new file mode 100644
index 0000000000..553e0bac54
--- /dev/null
+++ b/tests/ref/acodec/adpcm-swf-wav
@@ -0,0 +1,4 @@ 
+af5ffee897bad0174f4c7fc16c54aa5d *tests/data/fate/acodec-adpcm-swf-wav.wav
+266948 tests/data/fate/acodec-adpcm-swf-wav.wav
+628089745a7059ae4055c2515b6d668b *tests/data/fate/acodec-adpcm-swf-wav.out.wav
+stddev:  933.58 PSNR: 36.93 MAXDIFF:51119 bytes:  1058400/  1064960