changeset 626:23a093d6e450 libavcodec

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)
author michaelni
date Fri, 30 Aug 2002 00:05:28 +0000
parents bb6a69f9d409
children 79c43f519d02
files dsputil.c dsputil.h
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.c	Thu Aug 29 23:55:32 2002 +0000
+++ b/dsputil.c	Fri Aug 30 00:05:28 2002 +0000
@@ -1340,8 +1340,10 @@
     use_permuted_idct = 0;
 #endif
 #ifdef ARCH_POWERPC
+#ifdef CONFIG_DARWIN
     dsputil_init_altivec();
 #endif
+#endif
 
 #ifdef SIMPLE_IDCT
     if (ff_idct == NULL) {
--- a/dsputil.h	Thu Aug 29 23:55:32 2002 +0000
+++ b/dsputil.h	Fri Aug 30 00:05:28 2002 +0000
@@ -167,7 +167,9 @@
 #define emms_c()
 #define __align8 __attribute__ ((aligned (16)))
 
+#ifdef CONFIG_DARWIN
 void dsputil_init_altivec(void);
+#endif
 
 #else