[vorbis-dev] Overflow in psy.c

Michael Smith msmith at xn.com.au
Tue Jan 30 21:24:35 PST 2001



Chris Craig wrote:
> 
> In beta 3 (Windows, libvorbis-1.0beta3.zip, compiled using BCB), I get
> a runtime overflow on line 322 when encoding a simple pure tone
> (44100Hz, 96kbps, 128kbps, or 160kbps).  Changing the float to a double
> avoids the problem.
> 
>   float val=decay[i]*decscale;
>   float att=fabs(f[i]/val);             /// floating point overflow
>   ...

That code is completely changed in beta4 (beta4 hasn't actually been
released, but the code is very close to how it'll be at release.). Could
you test this again with current cvs?

Michael, who is bored, waiting for a compile, yet again.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list