[FFmpeg-cvslog] fate: fix long standing bug in the g723_1 test

Michael Niedermayer git at videolan.org
Wed May 30 13:35:48 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May 30 13:22:28 2012 +0200| [d24ef674ec248d4c0c0c128fe172e32593b3e308] | committer: Michael Niedermayer

fate: fix long standing bug in the g723_1 test

The test compared files of mismatching sample rate

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d24ef674ec248d4c0c0c128fe172e32593b3e308
---

 tests/fate/acodec.mak        |    6 ++++--
 tests/ref/fate/acodec-g723_1 |    6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index 17523b8..8937636 100644
--- a/tests/fate/acodec.mak
+++ b/tests/fate/acodec.mak
@@ -60,10 +60,12 @@ fate-acodec-flac: FMT = flac
 fate-acodec-flac: CODEC = flac -compression_level 2
 
 FATE_ACODEC += fate-acodec-g723_1
+fate-acodec-g723_1: tests/data/asynth-8000-1.wav
+fate-acodec-g723_1: SRC = tests/data/asynth-8000-1.wav
 fate-acodec-g723_1: FMT = g723_1
 fate-acodec-g723_1: CODEC = g723_1
-fate-acodec-g723_1: ENCOPTS = -b:a 6.3k -ac 1 -ar 8000
-#fate-acodec-g723_1: DECOPTS = -ac 2 -ar 44100
+fate-acodec-g723_1: ENCOPTS = -b:a 6.3k
+fate-acodec-g723_1: CMP_SHIFT = 8
 
 FATE_ACODEC += fate-acodec-ra144
 fate-acodec-ra144: FMT = rm
diff --git a/tests/ref/fate/acodec-g723_1 b/tests/ref/fate/acodec-g723_1
index 6452661..38b1a11 100644
--- a/tests/ref/fate/acodec-g723_1
+++ b/tests/ref/fate/acodec-g723_1
@@ -1,4 +1,4 @@
-d34f35011a3d596eb359cc62c92fa737 *tests/data/fate/acodec-g723_1.g723_1
+dec0deb2425e908d232d2471acff04a3 *tests/data/fate/acodec-g723_1.g723_1
 4800 tests/data/fate/acodec-g723_1.g723_1
-bc1807ce2a90997c09df66ced6900ebc *tests/data/fate/acodec-g723_1.out.wav
-stddev: 8507.27 PSNR: 17.73 MAXDIFF:26473 bytes:  1058400/    96000
+90b20555c962b638dad0e98ac2c05b25 *tests/data/fate/acodec-g723_1.out.wav
+stddev: 8418.34 PSNR: 17.82 MAXDIFF:52968 bytes:    95992/    96000



More information about the ffmpeg-cvslog mailing list