[xiph-cvs] cvs commit: vorbis/lib floor1.c
Monty
xiphmont at xiph.org
Wed Aug 15 18:36:58 PDT 2001
xiphmont 01/08/15 18:36:57
Modified: lib floor1.c
Log:
fix edge case bug in accumulate_fit
Revision Changes Path
1.13 +2 -2 vorbis/lib/floor1.c
Index: floor1.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/floor1.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- floor1.c 2001/08/13 11:33:39 1.12
+++ floor1.c 2001/08/16 01:36:57 1.13
@@ -11,7 +11,7 @@
********************************************************************
function: floor backend 1 implementation
- last mod: $Id: floor1.c,v 1.12 2001/08/13 11:33:39 xiphmont Exp $
+ last mod: $Id: floor1.c,v 1.13 2001/08/16 01:36:57 xiphmont Exp $
********************************************************************/
@@ -422,7 +422,7 @@
int x0, int x1,lsfit_acc *a,
int n,vorbis_info_floor1 *info){
long i;
- int quantized=vorbis_dBquant(flr);
+ int quantized=vorbis_dBquant(flr+x0);
long xa=0,ya=0,x2a=0,y2a=0,xya=0,na=0, xb=0,yb=0,x2b=0,y2b=0,xyb=0,nb=0;
--- >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