[FFmpeg-devel] [PATCH 1/3] fate: add test for paf audio decoder

Paul B Mahol onemda at gmail.com
Sun Jul 8 23:47:35 CEST 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 tests/fate/audio.mak     |    3 +++
 tests/ref/fate/paf-audio |    7 +++++++
 2 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100644 tests/ref/fate/paf-audio

diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak
index 529e402..ca26f5c 100644
--- a/tests/fate/audio.mak
+++ b/tests/fate/audio.mak
@@ -43,6 +43,9 @@ fate-nellymoser-aref-encode: CMP_SHIFT = -244
 fate-nellymoser-aref-encode: CMP_TARGET = 9612
 fate-nellymoser-aref-encode: SIZE_TOLERANCE = 268
 
+FATE_SAMPLES_AUDIO += fate-paf-audio
+fate-paf-audio: CMD = framecrc -i $(SAMPLES)/paf/hod1-partial.paf -vn
+
 FATE_SAMPLES_AUDIO += fate-sierra-vmd-audio
 fate-sierra-vmd-audio: CMD = framecrc -i $(SAMPLES)/vmd/12.vmd -vn
 
diff --git a/tests/ref/fate/paf-audio b/tests/ref/fate/paf-audio
new file mode 100644
index 0000000..918ecd7
--- /dev/null
+++ b/tests/ref/fate/paf-audio
@@ -0,0 +1,7 @@
+#tb 0: 1/22050
+0,          0,          0,    57330,   229320, 0x062508b4
+0,      58718,      58718,    57330,   229320, 0x0a966cbf
+0,     117436,     117436,    57330,   229320, 0xee9bad45
+0,     176154,     176154,    57330,   229320, 0xde88274e
+0,     234872,     234872,    57330,   229320, 0x2fdeeaf6
+0,     293590,     293590,    57330,   229320, 0xf793fe5b
-- 
1.7.7



More information about the ffmpeg-devel mailing list