aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-04-02 13:45:41 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-04-04 03:12:24 +0200
commit54c914651f1675577e090ab4ac671ba6fd406262 (patch)
tree255ee88032d4e5bc0e4f1ad259460e529c77a4dc
parentec7fda2db590e85acdc20e59246e5ab888bdda13 (diff)
downloadffmpeg-54c914651f1675577e090ab4ac671ba6fd406262.tar.gz
fate: Add wav-ac3 test
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--tests/fate/demux.mak3
-rw-r--r--tests/ref/fate/wav-ac343
2 files changed, 46 insertions, 0 deletions
diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak
index 526b284110..1c34eb85fd 100644
--- a/tests/fate/demux.mak
+++ b/tests/fate/demux.mak
@@ -123,6 +123,9 @@ fate-siff-demux: CMD = framecrc -i $(TARGET_SAMPLES)/SIFF/INTRO_B.VB -c copy
FATE_SAMPLES_DEMUX-$(CONFIG_SMJPEG_DEMUXER) += fate-smjpeg-demux
fate-smjpeg-demux: CMD = framecrc -i $(TARGET_SAMPLES)/smjpeg/scenwin.mjpg -c copy
+FATE_SAMPLES_DEMUX-$(CONFIG_WAV_DEMUXER) += fate-wav-ac3
+fate-wav-ac3: CMD = framecrc -i $(TARGET_SAMPLES)/ac3/diatonis_invisible_order_anfos_ac3-small.wav -c copy
+
FATE_SAMPLES_DEMUX-$(CONFIG_WSAUD_DEMUXER) += fate-westwood-aud
fate-westwood-aud: CMD = framecrc -i $(TARGET_SAMPLES)/westwood-aud/excellent.aud -c copy
diff --git a/tests/ref/fate/wav-ac3 b/tests/ref/fate/wav-ac3
new file mode 100644
index 0000000000..197eb65d8b
--- /dev/null
+++ b/tests/ref/fate/wav-ac3
@@ -0,0 +1,43 @@
+#tb 0: 1/44100
+0, 0, 0, 1536, 2786, 0xe2fd0f40
+0, 1536, 1536, 1536, 2786, 0x7a6207c2
+0, 3072, 3072, 1536, 2786, 0x7a6207c2
+0, 4608, 4608, 1536, 2786, 0x7a6207c2
+0, 6144, 6144, 1536, 2786, 0x7a6207c2
+0, 7680, 7680, 1536, 2786, 0x7a6207c2
+0, 9216, 9216, 1536, 2786, 0x41be035e
+0, 10752, 10752, 1536, 2786, 0xc799072a
+0, 12288, 12288, 1536, 2786, 0xf5eb0603
+0, 13824, 13824, 1536, 2786, 0x3d330bb2
+0, 15360, 15360, 1536, 2786, 0x992206d2
+0, 16896, 16896, 1536, 2786, 0x89051878
+0, 18432, 18432, 1536, 2786, 0xe6291a6b
+0, 19968, 19968, 1536, 2786, 0x07c133b4
+0, 21504, 21504, 1536, 2786, 0x61c42e35
+0, 23040, 23040, 1536, 2786, 0x9ec542ae
+0, 24576, 24576, 1536, 2786, 0x42544e06
+0, 26112, 26112, 1536, 2786, 0x0c495e62
+0, 27648, 27648, 1536, 2786, 0x062f78bc
+0, 29184, 29184, 1536, 2786, 0x497a8be9
+0, 30720, 30720, 1536, 2786, 0xedae978e
+0, 32256, 32256, 1536, 2786, 0x77cfaa0f
+0, 33792, 33792, 1536, 2786, 0x1471b792
+0, 35328, 35328, 1536, 2786, 0x76b7daf9
+0, 36864, 36864, 1536, 2786, 0xfc85f35f
+0, 38400, 38400, 1536, 2786, 0xebf8213b
+0, 39936, 39936, 1536, 2786, 0x59e73f77
+0, 41472, 41472, 1536, 2786, 0x98615899
+0, 43008, 43008, 1536, 2786, 0xd9fc642c
+0, 44544, 44544, 1536, 2786, 0x10378c7c
+0, 46080, 46080, 1536, 2786, 0x1d6abbb1
+0, 47616, 47616, 1536, 2786, 0xbe28d007
+0, 49152, 49152, 1536, 2786, 0xa427f2c1
+0, 50688, 50688, 1536, 2786, 0xb43203a3
+0, 52224, 52224, 1536, 2786, 0xcb6d0f2b
+0, 53760, 53760, 1536, 2786, 0x7b833d5c
+0, 55296, 55296, 1536, 2786, 0x26477105
+0, 56832, 56832, 1536, 2786, 0xef16814d
+0, 58368, 58368, 1536, 2786, 0x2a43ae86
+0, 59904, 59904, 1536, 2786, 0x5af1ccb3
+0, 61440, 61440, 1536, 2786, 0x6fa20941
+0, 62976, 62976, 1536, 2786, 0x5d4f336a