1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00

fate: fix long standing bug in the g723_1 test

The test compared files of mismatching sample rate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-05-30 13:22:28 +02:00
parent f5e0ef536a
commit d24ef674ec
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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