[xiph-commits] r9637 - trunk/ghost/libghost

jm at svn.xiph.org jm at svn.xiph.org
Thu Jul 28 20:54:33 PDT 2005


Author: jm
Date: 2005-07-28 20:54:32 -0700 (Thu, 28 Jul 2005)
New Revision: 9637

Modified:
   trunk/ghost/libghost/lifting.c
Log:
oops. Update filter was off by one.


Modified: trunk/ghost/libghost/lifting.c
===================================================================
--- trunk/ghost/libghost/lifting.c	2005-07-29 00:29:33 UTC (rev 9636)
+++ trunk/ghost/libghost/lifting.c	2005-07-29 03:54:32 UTC (rev 9637)
@@ -54,7 +54,7 @@
    //return;
    /* Update */
    r = rstart + 1 - stride2*basis->update_delay;
-   y = rstart - stride2*(basis->update_length - basis->update_delay - 1);
+   y = rstart - stride2*(basis->update_length - basis->update_delay);
 
    for (i=0;i<len;i+=stride2)
    {
@@ -86,7 +86,7 @@
 
    /* De-update */
    r = rstart + 1 - stride2*basis->update_delay;
-   y = rstart - stride2*(basis->update_length - basis->update_delay - 1);
+   y = rstart - stride2*(basis->update_length - basis->update_delay);
 
    for (i=0;i<len;i+=stride2)
    {



More information about the commits mailing list