From 1913aba8ede69b39e26e6d884fbf16affa1e69d6 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 24 May 2004 16:22:12 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ common | 2 +- gst-libs/gst/resample/private.h | 13 +++++++++---- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index adec768..2def2b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-05-24 Benjamin Otte + + * gst-libs/gst/resample/private.h: + don't use optimizations that are #if 0'ed + 2004-05-24 Wim Taymans * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query): diff --git a/common b/common index 85747ad..6e6d3f1 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 85747ad7d18dfc697845a457631f3877fda46906 +Subproject commit 6e6d3f154c84195e9d505e114ea4a2df216f7277 diff --git a/gst-libs/gst/resample/private.h b/gst-libs/gst/resample/private.h index 5791f58..c2eb86a 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 -- 2.7.4