[FFmpeg-cvslog] fate/pixfmts: use the appropriate variable names for temporary files.

Clément Bœsch git at videolan.org
Wed May 1 13:38:58 CEST 2013


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed May  1 13:13:49 2013 +0200| [24939d567b8a292c8c9d803fa1d44f00c1a29575] | committer: Clément Bœsch

fate/pixfmts: use the appropriate variable names for temporary files.

${1} is now the filter args and is inappropriate as a unique name for
the test (and causes some FATE issues because of the ':' in them).
${filter} is not used either to replace the ${1} because ${outfile}
already contains a unique name for the test.

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

 tests/fate-run.sh |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 4d5d214..ab1b8bb 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -185,10 +185,10 @@ pixfmts(){
     prefilter_chain=$2
 
     showfiltfmts="$target_exec $target_path/libavfilter/filtfmts-test"
-    scale_exclude_fmts=${outfile}${1}_scale_exclude_fmts
-    scale_in_fmts=${outfile}${1}_scale_in_fmts
-    scale_out_fmts=${outfile}${1}_scale_out_fmts
-    in_fmts=${outfile}${1}_in_fmts
+    scale_exclude_fmts=${outfile}_scale_exclude_fmts
+    scale_in_fmts=${outfile}_scale_in_fmts
+    scale_out_fmts=${outfile}_scale_out_fmts
+    in_fmts=${outfile}_in_fmts
 
     # exclude pixel formats which are not supported as input
     $showfiltfmts scale | awk -F '[ \r]' '/^INPUT/{ fmt=substr($3, 5); print fmt }' | sort >$scale_in_fmts



More information about the ffmpeg-cvslog mailing list