On Wed, Mar 29, 2006 at 02:28:42AM +0200, Diego Biurrun wrote:
On Sun, Mar 26, 2006 at 10:58:24AM -0500, Alexander Strange wrote:
On Mar 26, 2006, at 5:31 AM, Diego Biurrun wrote:
--- mp3lib/sr1.c 9 Feb 2006 14:08:00 -0000 1.36 +++ mp3lib/sr1.c 24 Mar 2006 00:30:43 -0000 @@ -447,6 +447,14 @@ } else #endif +#ifdef HAVE_ALTIVEC + if (gCpuCaps.hasAltiVec) + { + synth_func = NULL; /* only dct64 is altivec-optimized; it uses the C synth_func */ + mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using AltiVec optimized decore!\n"); + } + else +#endif
Why is it necessary to set synth_func to NULL?
Right now it's declared undefined.
It works fine here and it worked before you added the message. Is there any problem you are trying to fix?
Applied without the synth_func change. Diego