]> git.sesse.net Git - ffmpeg/commitdiff
regtest: fix wma tests
authorMans Rullgard <mans@mansr.com>
Mon, 9 May 2011 11:00:56 +0000 (12:00 +0100)
committerMans Rullgard <mans@mansr.com>
Mon, 9 May 2011 11:48:18 +0000 (12:48 +0100)
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>
tests/codec-regression.sh

index 93b8901f42dcff1fdadcbf2ee39cf939c588e79e..2ee6166c33b844254c00b4cdcda3f9379fd0cd6c 100755 (executable)
@@ -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