Hi all,

Just a quick patch to quantize-pvt, which should avoid problems if the hack
is enabled on non-x86 systems. ROUNDFAC was being set up incorrectly for
quantize_xrpow_ISO.

diff -r1.120 quantize-pvt.c
1178,1179c1178,1184
< #  define QUANTFAC(rx)  adj43[rx]
< #  define ROUNDFAC 0.4054
---
> #  ifndef TAKEHIRO_IEEE754_HACK
> #   define QUANTFAC(rx)  adj43[rx]
> #   define ROUNDFAC 0.4054
> #  else
> #   define QUANTFAC(rx)  adj43asm[rx]
> #   define ROUNDFAC (-0.0946)
> #  endif

Anyone tried assemblerising Takehiro's code?

-- Mat.


--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to