mirror of https://github.com/mpv-player/mpv
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:
parent
ce91ea74ce
commit
fb6cd86063
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue