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.
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(){