[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] aac/codec/fixpt/decoder/real stproc.c,1.3,1.4
From:       xzhao () helixcommunity ! org
Date:       2012-08-02 1:58:32
[Download RAW message or body]

Update of /cvsroot/datatype/aac/codec/fixpt/decoder/real
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv27782

Modified Files:
	stproc.c 
Log Message:
There are totally maxSFB points defined in that table, since code accessing \
sfbTab[sfb+1], so the max loop index should be (maxSFB - 2), so the last access point \
is (maxSFB - 1) 


Index: stproc.c
===================================================================
RCS file: /cvsroot/datatype/aac/codec/fixpt/decoder/real/stproc.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- stproc.c	24 May 2005 16:01:55 -0000	1.3
+++ stproc.c	2 Aug 2012 01:58:00 -0000	1.4
@@ -91,7 +91,7 @@
 	gbMaskL = 0;
 	gbMaskR = 0;
 
-	for (sfb = 0; sfb < maxSFB; sfb++) {
+	for (sfb = 0; sfb < (maxSFB - 1); sfb++) {
 		width = sfbTab[sfb+1] - sfbTab[sfb];	/* assume >= 0 (see \
sfBandTabLong/sfBandTabShort) */  cbIdx = cbRight[sfb];
 


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic