Fix lastRow bug.
It was introduced by 99ffc9991e00210d9f4c2dc1a97fee5021553264.
This commit is contained in:
parent
b8263a5c1f
commit
63d3f06265
2
pdf.js
2
pdf.js
@ -825,7 +825,7 @@ var PredictorStream = (function() {
|
|||||||
currentRow[i] = rawBytes[i];
|
currentRow[i] = rawBytes[i];
|
||||||
for (; i < rowBytes; ++i) {
|
for (; i < rowBytes; ++i) {
|
||||||
var up = prevRow[i];
|
var up = prevRow[i];
|
||||||
var upLeft = lastRow[i - pixBytes];
|
var upLeft = prevRow[i - pixBytes];
|
||||||
var left = currentRow[i - pixBytes];
|
var left = currentRow[i - pixBytes];
|
||||||
var p = left + up - upLeft;
|
var p = left + up - upLeft;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user