aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/dsputil_ppc.c
diff options
context:
space:
mode:
authorSteven M. Schultz <sms@2bsd.com>2003-10-11 08:25:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-10-11 08:25:23 +0000
commit3bbd2123d63be15678b5d8b0409e186f3f47d978 (patch)
tree397306fbea87ca49677e6ff8e0153c9bcb07d18b /libavcodec/ppc/dsputil_ppc.c
parent95831f48f8dff12a49c73898ca7e7666d3e32598 (diff)
downloadffmpeg-3bbd2123d63be15678b5d8b0409e186f3f47d978.tar.gz
recommit (of patch, as cvslog msg didnt apply cleanly)
libavcodec/ppc compile errors patch by ("Steven M. Schultz" <sms at 2BSD dot COM>) Originally committed as revision 2354 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/dsputil_ppc.c')
-rw-r--r--libavcodec/ppc/dsputil_ppc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c
index 73ae8b4a73..7af2aa0029 100644
--- a/libavcodec/ppc/dsputil_ppc.c
+++ b/libavcodec/ppc/dsputil_ppc.c
@@ -33,7 +33,7 @@ int mm_flags = 0;
int mm_support(void)
{
int result = 0;
-#if HAVE_ALTIVEC
+#ifdef HAVE_ALTIVEC
if (has_altivec()) {
result |= MM_ALTIVEC;
}
@@ -233,7 +233,7 @@ void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx)
break;
}
-#if HAVE_ALTIVEC
+#ifdef HAVE_ALTIVEC
if (has_altivec()) {
mm_flags |= MM_ALTIVEC;