[xiph-commits] r11993 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Thu Nov 2 04:18:28 PST 2006
Author: jm
Date: 2006-11-02 04:18:25 -0800 (Thu, 02 Nov 2006)
New Revision: 11993
Modified:
trunk/speex/libspeex/pseudofloat.h
Log:
Oops. Previous overflow fix had actually made things worse!
Modified: trunk/speex/libspeex/pseudofloat.h
===================================================================
--- trunk/speex/libspeex/pseudofloat.h 2006-11-02 11:58:52 UTC (rev 11992)
+++ trunk/speex/libspeex/pseudofloat.h 2006-11-02 12:18:25 UTC (rev 11993)
@@ -331,7 +331,8 @@
int e=0;
spx_int32_t num;
spx_float_t r;
- num = ABS16(a.m);
+ num = a.m;
+ a.m = ABS16(a.m);
while (a.m >= b.m)
{
e++;
More information about the commits
mailing list