aboutsummaryrefslogtreecommitdiff
path: root/compress.c
diff options
context:
space:
mode:
Diffstat (limited to 'compress.c')
-rw-r--r--compress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compress.c b/compress.c
index 5dfa002..2dc5dc1 100644
--- a/compress.c
+++ b/compress.c
@@ -321,7 +321,7 @@ void sendMTFValues ( EState* s )
321 ---*/ 321 ---*/
322 for (iter = 0; iter < BZ_N_ITERS; iter++) { 322 for (iter = 0; iter < BZ_N_ITERS; iter++) {
323 323
324 for (t = 0; t < nGroups; t++) fave[t] = 0; 324 for (t = 0; t < BZ_N_GROUPS; t++) fave[t] = 0;
325 325
326 for (t = 0; t < nGroups; t++) 326 for (t = 0; t < nGroups; t++)
327 for (v = 0; v < alphaSize; v++) 327 for (v = 0; v < alphaSize; v++)
@@ -353,7 +353,7 @@ void sendMTFValues ( EState* s )
353 Calculate the cost of this group as coded 353 Calculate the cost of this group as coded
354 by each of the coding tables. 354 by each of the coding tables.
355 --*/ 355 --*/
356 for (t = 0; t < nGroups; t++) cost[t] = 0; 356 for (t = 0; t < BZ_N_GROUPS; t++) cost[t] = 0;
357 357
358 if (nGroups == 6 && 50 == ge-gs+1) { 358 if (nGroups == 6 && 50 == ge-gs+1) {
359 /*--- fast track the common case ---*/ 359 /*--- fast track the common case ---*/