mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
Minor fix to carry shift value across input triads
git-svn-id: https://zxing.googlecode.com/svn/trunk@1670 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
c4dede3689
commit
e8bafc49f9
|
@ -264,6 +264,7 @@ final class DecodedBitStreamParser {
|
|||
boolean upperShift = false;
|
||||
|
||||
int[] cValues = new int[3];
|
||||
int shift = 0;
|
||||
do {
|
||||
// If there is only one byte left then it will be encoded as ASCII
|
||||
if (bits.available() == 8) {
|
||||
|
@ -276,7 +277,6 @@ final class DecodedBitStreamParser {
|
|||
|
||||
parseTwoBytes(firstByte, bits.readBits(8), cValues);
|
||||
|
||||
int shift = 0;
|
||||
for (int i = 0; i < 3; i++) {
|
||||
int cValue = cValues[i];
|
||||
switch (shift) {
|
||||
|
|
Loading…
Reference in a new issue