mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 14:59:05 +08:00
14 lines
387 B
Diff
14 lines
387 B
Diff
|
diff --git a/zbar/decoder/databar.c b/zbar/decoder/databar.c
|
||
|
index 8cfa848..ffb972e 100644
|
||
|
--- a/zbar/decoder/databar.c
|
||
|
+++ b/zbar/decoder/databar.c
|
||
|
@@ -695,7 +695,7 @@ lookup_sequence (databar_segment_t *seg,
|
||
|
seq[i++] = s;
|
||
|
}
|
||
|
dbprintf(2, "}");
|
||
|
- seq[n] = -1;
|
||
|
+ if (n<22) {seq[n]=-1;} /* https://github.com/mchehab/zbar/issues/219 */
|
||
|
return(fixed < 1);
|
||
|
}
|
||
|
|