projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Actually, let the scanner read codes using structured append -- just ignore these...
[zxing.git]
/
core
/
src
/
com
/
google
/
zxing
/
qrcode
/
decoder
/
DecodedBitStreamParser.java
diff --git
a/core/src/com/google/zxing/qrcode/decoder/DecodedBitStreamParser.java
b/core/src/com/google/zxing/qrcode/decoder/DecodedBitStreamParser.java
index
519abdb
..
76156dd
100644
(file)
--- a/
core/src/com/google/zxing/qrcode/decoder/DecodedBitStreamParser.java
+++ b/
core/src/com/google/zxing/qrcode/decoder/DecodedBitStreamParser.java
@@
-81,8
+81,9
@@
final class DecodedBitStreamParser {
// We do little with FNC1 except alter the parsed result a bit according to the spec
fc1InEffect = true;
} else if (mode.equals(Mode.STRUCTURED_APPEND)) {
// We do little with FNC1 except alter the parsed result a bit according to the spec
fc1InEffect = true;
} else if (mode.equals(Mode.STRUCTURED_APPEND)) {
- // not supported
- throw ReaderException.getInstance();
+ // not really supported; all we do is ignore it
+ // Read next 8 bits (symbol sequence #) and 8 bits (parity data), then continue
+ bits.readBits(16);
} else if (mode.equals(Mode.ECI)) {
// Count doesn't apply to ECI
try {
} else if (mode.equals(Mode.ECI)) {
// Count doesn't apply to ECI
try {