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>
| ... | ... |
@@ -318,12 +318,12 @@ fi |
| 318 | 318 |
|
| 319 | 319 |
if [ -n "$do_wmav1" ] ; then |
| 320 | 320 |
do_audio_encoding wmav1.asf "-acodec wmav1" |
| 321 |
-do_ffmpeg_nomd5 $pcm_dst -i $target_path/$file -f wav |
|
| 321 |
+do_ffmpeg_nomd5 $pcm_dst $DEC_OPTS -i $target_path/$file -f wav |
|
| 322 | 322 |
$tiny_psnr $pcm_dst $pcm_ref 2 8192 >> $logfile |
| 323 | 323 |
fi |
| 324 | 324 |
if [ -n "$do_wmav2" ] ; then |
| 325 | 325 |
do_audio_encoding wmav2.asf "-acodec wmav2" |
| 326 |
-do_ffmpeg_nomd5 $pcm_dst -i $target_path/$file -f wav |
|
| 326 |
+do_ffmpeg_nomd5 $pcm_dst $DEC_OPTS -i $target_path/$file -f wav |
|
| 327 | 327 |
$tiny_psnr $pcm_dst $pcm_ref 2 8192 >> $logfile |
| 328 | 328 |
fi |
| 329 | 329 |
|