mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Address Yury's comment.
This commit is contained in:
parent
408dd5d403
commit
0e0527be81
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ var PDFFunction = (function pdfFunction() {
|
|||
var array = [];
|
||||
var codeSize = 0;
|
||||
var codeBuf = 0;
|
||||
// 32 is a valid bps so shifting won't work
|
||||
var sampleMul = 1.0 / (Math.pow(2.0, bps) - 1);
|
||||
|
||||
var strBytes = str.getBytes((length * bps + 7) / 8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue