[FFmpeg-cvslog] FATE: specify the input format when decoding in enc_dec_pcm()

Justin Ruggles git at videolan.org
Thu Apr 19 21:45:54 CEST 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Mon Apr 16 21:06:00 2012 -0400| [c755b1fbbc54694f1ac657be7517de28981cf326] | committer: Justin Ruggles

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c755b1fbbc54694f1ac657be7517de28981cf326
---

 tests/fate-run.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index b19f0ae..39db0e8 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(){



More information about the ffmpeg-cvslog mailing list