mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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.
This commit is contained in:
parent
705f3d4759
commit
c755b1fbbc
@ -91,7 +91,7 @@ enc_dec_pcm(){
|
|||||||
encfile="${outdir}/${test}.${out_fmt}"
|
encfile="${outdir}/${test}.${out_fmt}"
|
||||||
cleanfiles=$encfile
|
cleanfiles=$encfile
|
||||||
avconv -i $ref "$@" -f $out_fmt -y ${target_path}/${encfile} || return
|
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(){
|
regtest(){
|
||||||
|
Loading…
Reference in New Issue
Block a user