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:
parent
921f3211a4
commit
7ad3e46ca8
3 changed files with 11 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue