aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dsputil.c
diff options
context:
space:
mode:
authorHeliodoro Tammaro <helio@interactives.org>2002-08-30 00:05:28 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-08-30 00:05:28 +0000
commita43bd1d71589d9350c7b2585376c1da0ea229310 (patch)
tree638596ca89be09213fc0a37626fa1959278b2c0f /libavcodec/dsputil.c
parent252f3975090f791acc0364e10e096fbeac6645cb (diff)
downloadffmpeg-a43bd1d71589d9350c7b2585376c1da0ea229310.tar.gz
patch by Heliodoro Tammaro <helio at interactives dot org>
- configures/builds on all darwin versions - ffserver builds on darwin (if you have the extra libraries) - builds correctly (again) on non-darwin ppc (no -faltivec in gcc-3.2) Originally committed as revision 880 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r--libavcodec/dsputil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 8ce6bf7165..9eae404581 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -1340,8 +1340,10 @@ void dsputil_init(void)
use_permuted_idct = 0;
#endif
#ifdef ARCH_POWERPC
+#ifdef CONFIG_DARWIN
dsputil_init_altivec();
#endif
+#endif
#ifdef SIMPLE_IDCT
if (ff_idct == NULL) {