Partially addressed Reed-Solomon decoding issue for Datamatrix, but not entirely...
[zxing.git] / core / src / com / google / zxing / datamatrix / decoder / Decoder.java
index f70ae45..6531176 100644 (file)
@@ -118,7 +118,7 @@ public final class Decoder {
     }\r
     int numECCodewords = codewordBytes.length - numDataCodewords;\r
     try {\r
-      rsDecoder.decode(codewordsInts, numECCodewords);\r
+      rsDecoder.decode(codewordsInts, numECCodewords, true);\r
     } catch (ReedSolomonException rse) {\r
       throw new ReaderException(rse.toString());\r
     }\r