From ecfc5e0b72eb24736cf1fcf9e91ee31f34626b47 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Mon, 9 May 2011 12:00:56 +0100 Subject: [PATCH] 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 --- tests/codec-regression.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh index 93b8901..2ee6166 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 -- 2.7.4