[Ffmpeg-cvslog] r7522 - trunk/tests/regression.sh

Måns Rullgård mru
Mon Jan 15 03:04:31 CET 2007


diego <subversion at mplayerhq.hu> writes:

> Author: diego
> Date: Mon Jan 15 01:23:58 2007
> New Revision: 7522
>
> Modified:
>    trunk/tests/regression.sh
>
> Log:
> Remove unnecessary variable indirection.
>
> Modified: trunk/tests/regression.sh
> ==============================================================================
> --- trunk/tests/regression.sh	(original)
> +++ trunk/tests/regression.sh	Mon Jan 15 01:23:58 2007
> @@ -116,33 +116,31 @@
>
>  do_ffmpeg()
>  {
> -    f="$1"
>      shift
       ^^^^^
>      echo $ffmpeg $FFMPEG_OPTS $*
>      $ffmpeg $FFMPEG_OPTS -benchmark $* > $bench 2> /tmp/ffmpeg$$
>      egrep -v "^(Stream|Press|Input|Output|frame|  Stream|  Duration|video:)" /tmp/ffmpeg$$ || true
>      rm -f /tmp/ffmpeg$$
> -    do_md5sum $f >> $logfile
> -    if [ $f = $raw_dst ] ; then
> -        $tiny_psnr $f $raw_ref >> $logfile
> -    elif [ $f = $pcm_dst ] ; then
> -        $tiny_psnr $f $pcm_ref 2 >> $logfile
> +    do_md5sum $1 >> $logfile
                 ^^

You broke it!

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-cvslog mailing list