[vorbis-dev] Overflow in psy.c

Monty xiphmont at xiph.org
Tue Jan 30 22:56:30 PST 2001



On Wed, Jan 31, 2001 at 01:27:34AM -0330, 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 gone.  I do appreciate the bug report though!

Monty

--- >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