Fix lastRow bug.

It was introduced by 99ffc9991e00210d9f4c2dc1a97fee5021553264.
This commit is contained in:
Kalervo Kujala 2011-09-09 00:52:11 +03:00
parent b8263a5c1f
commit 63d3f06265

2
pdf.js
View File

@ -825,7 +825,7 @@ var PredictorStream = (function() {
currentRow[i] = rawBytes[i];
for (; i < rowBytes; ++i) {
var up = prevRow[i];
var upLeft = lastRow[i - pixBytes];
var upLeft = prevRow[i - pixBytes];
var left = currentRow[i - pixBytes];
var p = left + up - upLeft;