[xiph-cvs] cvs commit: vorbis/lib floor1.c

Monty xiphmont at xiph.org
Thu Nov 29 23:19:54 PST 2001



xiphmont    01/11/29 23:19:54

  Modified:    lib      Tag: branch_monty_20011009 floor1.c
  Log:
  Catch a bug that may come up in the future; the fill forward in
  floor1_inverse2 was carrying forward the wrong value.

Revision  Changes    Path
No                   revision

No                   revision

1.16.2.2  +2 -2      vorbis/lib/floor1.c

Index: floor1.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/floor1.c,v
retrieving revision 1.16.2.1
retrieving revision 1.16.2.2
diff -u -r1.16.2.1 -r1.16.2.2
--- floor1.c	2001/11/22 06:21:08	1.16.2.1
+++ floor1.c	2001/11/30 07:19:53	1.16.2.2
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: floor backend 1 implementation
- last mod: $Id: floor1.c,v 1.16.2.1 2001/11/22 06:21:08 xiphmont Exp $
+ last mod: $Id: floor1.c,v 1.16.2.2 2001/11/30 07:19:53 xiphmont Exp $
 
  ********************************************************************/
 
@@ -1137,7 +1137,7 @@
         ly=hy;
       }
     }
-    for(j=hx;j<n;j++)out[j]*=out[j-1]; /* be certain */    
+    for(j=hx;j<n;j++)out[j]*=ly; /* be certain */    
     return(1);
   }
   memset(out,0,sizeof(*out)*n);

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