[xiph-cvs] cvs commit: speex/libspeex sb_celp.c

Jean-Marc Valin jm at xiph.org
Thu Nov 13 00:47:40 PST 2003



jm          03/11/13 03:47:40

  Modified:    libspeex sb_celp.c
  Log:
  ...

Revision  Changes    Path
1.149     +1 -1      speex/libspeex/sb_celp.c

Index: sb_celp.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/sb_celp.c,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -r1.148 -r1.149
--- sb_celp.c	13 Nov 2003 08:45:55 -0000	1.148
+++ sb_celp.c	13 Nov 2003 08:47:40 -0000	1.149
@@ -602,7 +602,7 @@
             gc *= 1.4142;
 
 #ifdef FIXED_POINT
-         scale = SHL(DIV32_16(SHL(gc,SIG_SHIFT-4),filter_ratio),4)*(1+el);
+         scale = SHL(MULT16_16(DIV32_16(SHL(gc,SIG_SHIFT-4),filter_ratio),(1+el)),4);
 #else
          scale = gc*(1.+el)/filter_ratio;
 #endif

<p><p>--- >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 'cvs-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 commits mailing list