summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-05-09 12:00:56 +0100
committerMans Rullgard <mans@mansr.com>2011-05-09 12:48:18 +0100
commitecfc5e0b72eb24736cf1fcf9e91ee31f34626b47 (patch)
treeeb95111e7ec7a5f5897760c1c89d0d46409ef88f /tests
parent3a2e80ecbc893cbe2ae5bfb7282e4588e7ad1fa5 (diff)
regtest: fix wma tests
This adds $DEC_OPTS to the wma decode commands, making tests pass on systems where the bitexact flag is needed. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 93b8901f42..2ee6166c33 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -318,12 +318,12 @@ fi
if [ -n "$do_wmav1" ] ; then
do_audio_encoding wmav1.asf "-acodec wmav1"
-do_ffmpeg_nomd5 $pcm_dst -i $target_path/$file -f wav
+do_ffmpeg_nomd5 $pcm_dst $DEC_OPTS -i $target_path/$file -f wav
$tiny_psnr $pcm_dst $pcm_ref 2 8192 >> $logfile
fi
if [ -n "$do_wmav2" ] ; then
do_audio_encoding wmav2.asf "-acodec wmav2"
-do_ffmpeg_nomd5 $pcm_dst -i $target_path/$file -f wav
+do_ffmpeg_nomd5 $pcm_dst $DEC_OPTS -i $target_path/$file -f wav
$tiny_psnr $pcm_dst $pcm_ref 2 8192 >> $logfile
fi