From c755b1fbbc54694f1ac657be7517de28981cf326 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Mon, 16 Apr 2012 21:06:00 -0400 Subject: FATE: specify the input format when decoding in enc_dec_pcm() The output format is not always the same as the file extension, which is sometimes required for correct probing. We can avoid probing by specifying the format since it is already known. --- tests/fate-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/fate-run.sh') diff --git a/tests/fate-run.sh b/tests/fate-run.sh index b19f0aeba4..39db0e89e0 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -91,7 +91,7 @@ enc_dec_pcm(){ encfile="${outdir}/${test}.${out_fmt}" cleanfiles=$encfile avconv -i $ref "$@" -f $out_fmt -y ${target_path}/${encfile} || return - avconv -i ${target_path}/${encfile} -c:a pcm_${pcm_fmt} -f wav - + avconv -f $out_fmt -i ${target_path}/${encfile} -c:a pcm_${pcm_fmt} -f wav - } regtest(){ -- cgit v1.2.1