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

Jean-Marc Valin jm at xiph.org
Wed Dec 18 20:07:08 PST 2002



jm          02/12/18 23:07:08

  Modified:    libspeex lsp.c
  Log:
  Oops... this bug was found by Ming Wu <mingwu at cyberon.com.tw>

Revision  Changes    Path
1.20      +1 -1      speex/libspeex/lsp.c

Index: lsp.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/lsp.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- lsp.c	6 Nov 2002 21:27:31 -0000	1.19
+++ lsp.c	19 Dec 2002 04:07:08 -0000	1.20
@@ -315,7 +315,7 @@
    if (lsp[0]<margin)
       lsp[0]=margin;
    if (lsp[len-1]>M_PI-margin)
-      lsp[len]=margin;
+      lsp[len-1]=M_PI-margin;
    for (i=1;i<len-1;i++)
    {
       if (lsp[i]<lsp[i-1]+margin)

<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