---
 tests/lavf-regression.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index 5c9a510403..10fbe4cbeb 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -20,7 +20,8 @@ do_lavf()
 
 do_streamed_images()
 {
-    file=${outdir}${1}pipe.$1
+    t="${test%pipe}"
+    file=${outdir}${t}pipe.$t
     do_avconv $file $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src -f image2pipe 
$ENC_OPTS -t 1 -qscale 10
     do_avconv_crc $file $DEC_OPTS -f image2pipe -i $target_path/$file
 }
@@ -110,15 +111,15 @@ fi
 #do_avconv_crc $file -i $target_path/$file
 
 if [ -n "$do_pbmpipe" ] ; then
-do_streamed_images pbm
+do_streamed_images
 fi
 
 if [ -n "$do_pgmpipe" ] ; then
-do_streamed_images pgm
+do_streamed_images
 fi
 
 if [ -n "$do_ppmpipe" ] ; then
-do_streamed_images ppm
+do_streamed_images
 fi
 
 if [ -n "$do_gif" ] ; then
-- 
2.11.0

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to