[vorbis-dev] Overflow in psy.c

Chris Craig chris3 at cs.mun.ca
Tue Jan 30 20:57:34 PST 2001



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

Chris
http://www.goldwave.com

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