>
> Hi all,
>
> I have tried to compile LAME 3.70 using the Watcom compiler
> (host+target was OS/2). Using highest optimization, there seems
> to be some trouble with the pow function. I have used only
> time optimization (not fastest possible code). There remain some
> errors in pow inside the ATHformula function. As I feel, the argument
> f is a frequency in kHz. Sometimes, ATHformula is called with
> f=9E3 or so. This seems to be buggy. The Watcom pow function prints
> a message "argument of pow out of range". It returns inf, which may
> lead to correct behaviour in futher computation. Possibly, the gcc
> pow funcion return inf too, but silently.
>
This really should not happen and is probably a sign of some
other problem. I just added some assert()'s,
and ATHformula is always called with f < 23.0.
Can you try and track down what is causing f to be so large?
It looks like the scalefac_band data is being corrupted.
Mark
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )