---
tests/lavf-regression.sh | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index 992973b37c..c6fbf68c31 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -39,9 +39,9 @@ do_image_formats()
do_audio_only()
{
- file=${outdir}lavf.$1
- do_avconv $file $DEC_OPTS $2 -ar 44100 -f s16le -i $pcm_src $ENC_OPTS -t 1
-qscale 10 $3
- do_avconv_crc $file $DEC_OPTS $4 -i $target_path/$file
+ file=${outdir}lavf.$test
+ do_avconv $file $DEC_OPTS $1 -ar 44100 -f s16le -i $pcm_src $ENC_OPTS -t 1
-qscale 10 $2
+ do_avconv_crc $file $DEC_OPTS $3 -i $target_path/$file
}
if [ -n "$do_avi" ] ; then
@@ -191,47 +191,47 @@ fi
# audio only
if [ -n "$do_wav" ] ; then
-do_audio_only wav
+do_audio_only
fi
if [ -n "$do_al" ] ; then
-do_audio_only al "" "" "-ar 44100"
+do_audio_only "" "" "-ar 44100"
fi
if [ -n "$do_ul" ] ; then
-do_audio_only ul "" "" "-ar 44100"
+do_audio_only "" "" "-ar 44100"
fi
if [ -n "$do_au" ] ; then
-do_audio_only au
+do_audio_only
fi
if [ -n "$do_mmf" ] ; then
-do_audio_only mmf
+do_audio_only
fi
if [ -n "$do_aiff" ] ; then
-do_audio_only aiff
+do_audio_only
fi
if [ -n "$do_voc" ] ; then
-do_audio_only voc
+do_audio_only
fi
if [ -n "$do_voc_s16" ] ; then
-do_audio_only voc_s16 "-ac 2" "-c:a pcm_s16le -f voc"
+do_audio_only "-ac 2" "-c:a pcm_s16le -f voc"
fi
if [ -n "$do_ogg" ] ; then
-do_audio_only ogg "" "-c:a flac"
+do_audio_only "" "-c:a flac"
fi
if [ -n "$do_rso" ] ; then
-do_audio_only rso
+do_audio_only
fi
if [ -n "$do_sox" ] ; then
-do_audio_only sox
+do_audio_only
fi
# pix_fmt conversions
--
2.11.0
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel