[FFmpeg-devel] [PATCH] fate: add WavPack muxer test

James Almer jamrial at gmail.com
Sat Feb 11 00:52:11 EET 2017


Signed-off-by: James Almer <jamrial at gmail.com>
---
 tests/fate/avformat.mak  | 1 +
 tests/lavf-regression.sh | 4 ++++
 tests/ref/lavf/wv        | 3 +++
 3 files changed, 8 insertions(+)
 create mode 100644 tests/ref/lavf/wv

diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak
index 0a3800b0ea..10702ec8e2 100644
--- a/tests/fate/avformat.mak
+++ b/tests/fate/avformat.mak
@@ -54,6 +54,7 @@ FATE_LAVF-$(call ENCDEC,  PCM_S16LE,             WAV)                += wav_peak
 FATE_LAVF-$(call ENCDEC,  PCM_S16LE,             WAV)                += wav_peak_only
 FATE_LAVF-$(call ENCMUX,  PCM_S16LE,             W64)                += w64
 FATE_LAVF-$(call ENCDEC,  MP2,                   WTV)                += wtv
+FATE_LAVF-$(call ENCDEC,  WAVPACK,               WV)                 += wv
 FATE_LAVF-$(call ENCDEC,  XBM,                   IMAGE2)             += xbm
 FATE_LAVF-$(call ENCDEC,  XWD,                   IMAGE2)             += xwd
 FATE_LAVF-$(CONFIG_YUV4MPEGPIPE_MUXER)                               += yuv4mpeg
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index 12954d5044..eda40f25db 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -386,6 +386,10 @@ if [ -n "$do_w64" ] ; then
 do_audio_only w64
 fi
 
+if [ -n "$do_wv" ] ; then
+do_audio_only wv
+fi
+
 # pix_fmt conversions
 
 if [ -n "$do_pixfmt" ] ; then
diff --git a/tests/ref/lavf/wv b/tests/ref/lavf/wv
new file mode 100644
index 0000000000..323c5df6d5
--- /dev/null
+++ b/tests/ref/lavf/wv
@@ -0,0 +1,3 @@
+47d9a381d9c3f99b8b059f3b17f1dc11 *./tests/data/lavf/lavf.wv
+59560 ./tests/data/lavf/lavf.wv
+./tests/data/lavf/lavf.wv CRC=0x3a1da17e
-- 
2.11.0



More information about the ffmpeg-devel mailing list