1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Correct a typo in DeviceRgbCS_getRgbBuffer

This commit is contained in:
vyv03354 2013-03-24 17:48:39 +09:00
parent 921f3211a4
commit 7ad3e46ca8
3 changed files with 11 additions and 1 deletions

View file

@ -478,7 +478,7 @@ var DeviceRgbCS = (function DeviceRgbCSClosure() {
var scale = 255 / ((1 << bits) - 1);
var j = srcOffset, q = destOffset;
for (var i = 0; i < length; ++i) {
dest[q++] = (scale * input[j++]) | 0;
dest[q++] = (scale * src[j++]) | 0;
}
},
getOutputLength: function DeviceRgbCS_getOutputLength(inputLength) {