Browse Source

Simplify lavfi test script a little

Originally committed as revision 24486 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård 14 years ago
parent
commit
e6e3069b54
1 changed files with 2 additions and 4 deletions
  1. 2 4
      tests/lavfi-regression.sh

+ 2 - 4
tests/lavfi-regression.sh

@@ -38,12 +38,10 @@ get_exclusive_elements() (
 )
 
 do_lavfi() {
-    test_name=$1
-    eval test=\$do_$test_name
     vfilters="slicify=random,$2"
 
-    if [ -n "$test" ] ; then
-        do_video_encoding ${test_name}.nut "" "-vcodec rawvideo -vf $vfilters"
+    if [ $test = $1 ] ; then
+        do_video_encoding ${test}.nut "" "-vcodec rawvideo -vf $vfilters"
     fi
 }