mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Issue 1778 maybe avoid NPE
git-svn-id: https://zxing.googlecode.com/svn/trunk@2892 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
23ebe5710c
commit
6c103e7840
|
@ -144,6 +144,9 @@ public final class PDF417ScanningDecoder {
|
|||
return null;
|
||||
}
|
||||
int[] rowHeights = rowIndicatorColumn.getRowHeights();
|
||||
if (rowHeights == null) {
|
||||
return null;
|
||||
}
|
||||
int maxRowHeight = getMax(rowHeights);
|
||||
int missingStartRows = 0;
|
||||
for (int rowHeight : rowHeights) {
|
||||
|
|
Loading…
Reference in a new issue