mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
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:
parent
14829bd871
commit
95f42d6340
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue