|
|
|
@@ -571,7 +571,7 @@ public class CBZip2OutputStream extends OutputStream implements BZip2Constants { |
|
|
|
|
|
|
|
int v, t, i, j, gs, ge, totc, bt, bc, iter; |
|
|
|
int nSelectors = 0, alphaSize, minLen, maxLen, selCtr; |
|
|
|
int nGroups, nBytes; |
|
|
|
int nGroups; //, nBytes; |
|
|
|
|
|
|
|
alphaSize = nInUse + 2; |
|
|
|
for (t = 0; t < N_GROUPS; t++) { |
|
|
|
@@ -802,7 +802,7 @@ public class CBZip2OutputStream extends OutputStream implements BZip2Constants { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
nBytes = bytesOut; |
|
|
|
//nBytes = bytesOut; |
|
|
|
for (i = 0; i < 16; i++) { |
|
|
|
if (inUse16[i]) { |
|
|
|
bsW(1, 1); |
|
|
|
@@ -826,7 +826,7 @@ public class CBZip2OutputStream extends OutputStream implements BZip2Constants { |
|
|
|
} |
|
|
|
|
|
|
|
/* Now the selectors. */ |
|
|
|
nBytes = bytesOut; |
|
|
|
//nBytes = bytesOut; |
|
|
|
bsW (3, nGroups); |
|
|
|
bsW (15, nSelectors); |
|
|
|
for (i = 0; i < nSelectors; i++) { |
|
|
|
@@ -837,7 +837,7 @@ public class CBZip2OutputStream extends OutputStream implements BZip2Constants { |
|
|
|
} |
|
|
|
|
|
|
|
/* Now the coding tables. */ |
|
|
|
nBytes = bytesOut; |
|
|
|
//nBytes = bytesOut; |
|
|
|
|
|
|
|
for (t = 0; t < nGroups; t++) { |
|
|
|
int curr = len[t][0]; |
|
|
|
@@ -856,7 +856,7 @@ public class CBZip2OutputStream extends OutputStream implements BZip2Constants { |
|
|
|
} |
|
|
|
|
|
|
|
/* And finally, the block data proper */ |
|
|
|
nBytes = bytesOut; |
|
|
|
//nBytes = bytesOut; |
|
|
|
selCtr = 0; |
|
|
|
gs = 0; |
|
|
|
while (true) { |
|
|
|
|