Mercurial > mplayer.hg
view version.sh @ 18683:d940ecaff286
moves invariant code (chiefly MMX register initialization) out of loops as well as eliminating some memory accesses within the inner loop.
Patch by Zuxy Meng < zuxy POIS meng AH gmail POIS com >
Original thread:
Date: Mon, 12 Jun 2006 00:31:53 -0700 (PDT)
Subject [MPlayer-dev-eng] [PATCH] Loop invariant motion in libvo/osd_template.c
author | gpoirier |
---|---|
date | Mon, 12 Jun 2006 11:14:10 +0000 |
parents | 06c236dd604b |
children | 04ed79acda15 |
line wrap: on
line source
#!/bin/sh revision=r`grep committed-rev .svn/entries | sed 1q | cut -d '"' -f 2 2>/dev/null` extra="" if test "$1" ; then extra="-$1" fi echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h