X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=tests%2Ffate-run.sh;h=9cd872b6c69e6a2ff038a8fdcac5a81be53c3f55;hb=aba1a48cc5b3f1ee77d5b8e9e72c27bbf3625d85;hp=1945d88a23176f3d7e31251df988dfb0e1304fe3;hpb=83db6cb521c699bec23e542b8fd24a3afc0dfc60;p=ffmpeg diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 1945d88a231..9cd872b6c69 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -78,7 +78,7 @@ ffmpeg(){ dec_opts="-threads $threads -thread_type $thread_type" ffmpeg_args="-nostats -cpuflags $cpuflags" for arg in $@; do - [ ${arg} = -i ] && ffmpeg_args="${ffmpeg_args} ${dec_opts}" + [ x${arg} = x-i ] && ffmpeg_args="${ffmpeg_args} ${dec_opts}" ffmpeg_args="${ffmpeg_args} ${arg}" done run ffmpeg ${ffmpeg_args}