aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-09-09 10:02:32 +0300
committerMartin Storsjö <martin@martin.st>2011-10-18 10:45:22 +0300
commit6e6003a4d244bb7b6d7ef24a98af9c6f3d269990 (patch)
tree104216166e26dc15a6a9a8b813cfc36dbf277a49
parent73dbc89cbb8826e76ff4b8f8cdb42a850cb2c463 (diff)
downloadffmpeg-6e6003a4d244bb7b6d7ef24a98af9c6f3d269990.tar.gz
g722: Add a fate test for the encoder
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--tests/fate2.mak4
-rw-r--r--tests/ref/fate/g722enc1
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/fate2.mak b/tests/fate2.mak
index 0bb6654f8d..376a0196b6 100644
--- a/tests/fate2.mak
+++ b/tests/fate2.mak
@@ -133,6 +133,10 @@ fate-gsm-ms: CMD = framecrc -i $(SAMPLES)/gsm/ciao.wav
FATE_TESTS += fate-g722dec-1
fate-g722dec-1: CMD = framecrc -i $(SAMPLES)/g722/conf-adminmenu-162.g722
+FATE_TESTS += fate-g722enc
+fate-g722enc: tests/data/asynth-16000-1.sw
+fate-g722enc: CMD = md5 -ar 16000 -ac 1 -f s16le -i $(TARGET_PATH)/tests/data/asynth-16000-1.sw -acodec g722 -ac 1 -f g722
+
FATE_TESTS += fate-msmpeg4v1
fate-msmpeg4v1: CMD = framecrc -flags +bitexact -dct fastint -idct simple -i $(SAMPLES)/msmpeg4v1/mpg4.avi -an
diff --git a/tests/ref/fate/g722enc b/tests/ref/fate/g722enc
new file mode 100644
index 0000000000..c1094565b5
--- /dev/null
+++ b/tests/ref/fate/g722enc
@@ -0,0 +1 @@
+750269cc236541df28e15da5c7b0df7a