diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-10-07 19:14:25 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-10-07 19:14:25 +0000 |
commit | 87ea51e0b5f4c70c549f98a5eab483070a1e07f3 (patch) | |
tree | 5b3e5fdbc4197529a1edabe90320ad9a33d8c828 /libavcodec/ppc/dsputil_ppc.c | |
parent | 104f8c10b8a19080e0c1439e3e689abfcafbfaa9 (diff) | |
download | ffmpeg-87ea51e0b5f4c70c549f98a5eab483070a1e07f3.tar.gz |
fix the dcbz check and move it in configure
Originally committed as revision 6580 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/dsputil_ppc.c')
-rw-r--r-- | libavcodec/ppc/dsputil_ppc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c index e271a78132..cf1281aa0c 100644 --- a/libavcodec/ppc/dsputil_ppc.c +++ b/libavcodec/ppc/dsputil_ppc.c @@ -175,7 +175,7 @@ POWERPC_PERF_STOP_COUNT(powerpc_clear_blocks_dcbz32, 1); /* same as above, when dcbzl clear a whole 128B cache line i.e. the PPC970 aka G5 */ -#ifndef NO_DCBZL +#ifdef HAVE_DCBZL void clear_blocks_dcbz128_ppc(DCTELEM *blocks) { POWERPC_PERF_DECLARE(powerpc_clear_blocks_dcbz128, 1); @@ -205,7 +205,7 @@ void clear_blocks_dcbz128_ppc(DCTELEM *blocks) } #endif -#ifndef NO_DCBZL +#ifdef HAVE_DCBZL /* check dcbz report how many bytes are set to 0 by dcbz */ /* update 24/06/2003 : replace dcbz by dcbzl to get the intended effect (Apple "fixed" dcbz) |