aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-04-16 21:06:00 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-04-18 22:26:49 -0400
commitc755b1fbbc54694f1ac657be7517de28981cf326 (patch)
tree70c11445c2c4f20ad2c8e084450bd32737b666c2
parent705f3d4759e80044c2a33020aef05b1ed0150558 (diff)
downloadffmpeg-c755b1fbbc54694f1ac657be7517de28981cf326.tar.gz
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.
-rwxr-xr-xtests/fate-run.sh2
1 files changed, 1 insertions, 1 deletions
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(){