aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2020-10-16 18:09:27 +1000
committerZane van Iperen <zane@zanevaniperen.com>2020-10-21 11:26:39 +1000
commit3106db044e8b4440831170ce6f7df07fc8b63048 (patch)
tree1713aef425868bcd58ed9e0359d36209263ce34e
parent4919b3c1c42377e17add834b8bf064d0dd8ae298 (diff)
downloadffmpeg-3106db044e8b4440831170ce6f7df07fc8b63048.tar.gz
fate: add test for adpcm_swf in wav
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
-rw-r--r--tests/fate/acodec.mak4
-rw-r--r--tests/ref/acodec/adpcm-swf-wav4
2 files changed, 8 insertions, 0 deletions
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