summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/resample
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2004-05-24 16:22:12 +0000
committerBenjamin Otte <otte@gnome.org>2004-05-24 16:22:12 +0000
commit1913aba8ede69b39e26e6d884fbf16affa1e69d6 (patch)
tree9c25ba2726da1410508ad7e4270971c555d016f0 /gst-libs/gst/resample
parent1e5bcfb2accdf7e21a83cd23b1b43123a72d540b (diff)
downloadgst-plugins-bad-1913aba8ede69b39e26e6d884fbf16affa1e69d6.tar.gz
gst-plugins-bad-1913aba8ede69b39e26e6d884fbf16affa1e69d6.tar.bz2
gst-plugins-bad-1913aba8ede69b39e26e6d884fbf16affa1e69d6.zip
gst-libs/gst/resample/private.h: don't use optimizations that are #if 0'ed
Original commit message from CVS: * gst-libs/gst/resample/private.h: don't use optimizations that are #if 0'ed
Diffstat (limited to 'gst-libs/gst/resample')
-rw-r--r--gst-libs/gst/resample/private.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/gst-libs/gst/resample/private.h b/gst-libs/gst/resample/private.h
index 5791f580..c2eb86ad 100644
--- a/gst-libs/gst/resample/private.h
+++ b/gst-libs/gst/resample/private.h
@@ -88,11 +88,16 @@ void conv_short_double_ppcasm(short *dest, double *src, int n);
#endif
#ifdef HAVE_CPU_PPC
-#define conv_double_short conv_double_short_table
-#define conv_short_double conv_short_double_ppcasm
+# define conv_double_short conv_double_short_table
+# if 0
+/* disabled as in .c */
+# define conv_short_double conv_short_double_ppcasm
+# else
+# define conv_short_double conv_short_double_ref
+# endif
#else
-#define conv_double_short conv_double_short_ref
-#define conv_short_double conv_short_double_ref
+# define conv_double_short conv_double_short_ref
+# define conv_short_double conv_short_double_ref
#endif
#define conv_double_float conv_double_float_ref