summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2001-11-30 07:19:53 +0000
committerMonty <xiphmont@xiph.org>2001-11-30 07:19:53 +0000
commitc6a4aa086365ea15177ba42511e2fd4f731d6c4c (patch)
tree6d090190c38069d4934c3787edf31bafb21870e0
parent06d4ce42dcb145c01678948d961bc6f8bc3a11ba (diff)
downloadlibvorbis-git-c6a4aa086365ea15177ba42511e2fd4f731d6c4c.tar.gz
Catch a bug that may come up in the future; the fill forward in
floor1_inverse2 was carrying forward the wrong value. svn path=/branches/branch_monty_20011009/vorbis/; revision=2409
-rw-r--r--lib/floor1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/floor1.c b/lib/floor1.c
index 1e9e3059..5ecc8c2c 100644
--- a/lib/floor1.c
+++ b/lib/floor1.c
@@ -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 @@ static int floor1_inverse2(vorbis_block *vb,vorbis_look_floor *in,void *memo,
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);