Issue 1312 fix byte mode compaction with early latch to another compaction

git-svn-id: https://zxing.googlecode.com/svn/trunk@2352 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2012-07-16 16:03:05 +00:00
parent 14829bd871
commit 95f42d6340

View file

@ -380,6 +380,7 @@ final class DecodedBitStreamParser {
nextCode == BEGIN_MACRO_PDF417_CONTROL_BLOCK || nextCode == BEGIN_MACRO_PDF417_CONTROL_BLOCK ||
nextCode == BEGIN_MACRO_PDF417_OPTIONAL_FIELD || nextCode == BEGIN_MACRO_PDF417_OPTIONAL_FIELD ||
nextCode == MACRO_PDF417_TERMINATOR) { nextCode == MACRO_PDF417_TERMINATOR) {
codeIndex--;
end = true; end = true;
} else { } else {
if ((count % 5 == 0) && (count > 0)) { if ((count % 5 == 0) && (count > 0)) {