On Mon, 17 Oct 2011, Måns Rullgård wrote:

Martin Storsjö <[email protected]> writes:

---
 tests/fate2.mak        |    4 ++++
 tests/ref/fate/g722enc |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
 create mode 100644 tests/ref/fate/g722enc

diff --git a/tests/fate2.mak b/tests/fate2.mak
index 0bb6654..b148886 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 = crc -ar 16000 -ac 1 -f s16le -i 
$(TARGET_PATH)/tests/data/asynth-16000-1.sw -acodec g722 -ac 1
+
 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 0000000..2c55d23
--- /dev/null
+++ b/tests/ref/fate/g722enc
@@ -0,0 +1 @@
+CRC=0x6b47c5ec
--

OK, but maybe md5 would be better than crc.

Pushed with md5 instead of crc.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to