From 93d598c7b2d6f71fa6381829dc6ec3610ed322e8 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 16 Jan 2009 09:21:21 +0000 Subject: Lots and lots of #ifdef ARCH_... -> #if ARCH_... and #ifdef HAVE_MMX etc -> #if HAVE_MMX. There might be still more that need to be fixed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28325 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_halfpack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmpcodecs/vf_halfpack.c') diff --git a/libmpcodecs/vf_halfpack.c b/libmpcodecs/vf_halfpack.c index 344de2f0fb..44854d7948 100644 --- a/libmpcodecs/vf_halfpack.c +++ b/libmpcodecs/vf_halfpack.c @@ -17,7 +17,7 @@ struct vf_priv_s { int field; }; -#ifdef HAVE_MMX +#if HAVE_MMX static void halfpack_MMX(unsigned char *dst, unsigned char *src[3], int dststride, int srcstride[3], int w, int h) @@ -204,7 +204,7 @@ static int open(vf_instance_t *vf, char* args) if (args) sscanf(args, "%d", &vf->priv->field); halfpack = halfpack_C; -#ifdef HAVE_MMX +#if HAVE_MMX if(gCpuCaps.hasMMX) halfpack = halfpack_MMX; #endif return 1; -- cgit v1.2.3