Make mp3lib say that it's using Altivec to decode instead of generic C

when it uses the optimized IMDCT.
patch by  Alexander Strange, astrange __ at __ ithinksw __ dot __ com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18102 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-04-15 14:33:19 +00:00
parent ce91ea74ce
commit fb6cd86063
1 changed files with 7 additions and 0 deletions

View File

@ -446,6 +446,13 @@ void MP3_Init(){
mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using Pentium optimized decore!\n");
}
else
#endif
#ifdef HAVE_ALTIVEC
if (gCpuCaps.hasAltiVec)
{
mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using AltiVec optimized decore!\n");
}
else
#endif
{
synth_func = NULL; /* use default c version */