mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-05-04 10:33:48 +01:00
fix inflate state work area length
This commit is contained in:
parent
45f326272b
commit
b525b6dca4
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ function InflateState() {
|
||||||
//unsigned short array
|
//unsigned short array
|
||||||
//todo: test later with Uint16Array
|
//todo: test later with Uint16Array
|
||||||
this.lens = new utils.Buf16(320); /* temporary storage for code lengths */
|
this.lens = new utils.Buf16(320); /* temporary storage for code lengths */
|
||||||
this.work = new utils.Buf16(280); /* work area for code table building */
|
this.work = new utils.Buf16(288); /* work area for code table building */
|
||||||
|
|
||||||
// TODO: 8 or 16 bits?
|
// TODO: 8 or 16 bits?
|
||||||
this.codes = new utils.Buf32(ENOUGH); /* space for code tables */
|
this.codes = new utils.Buf32(ENOUGH); /* space for code tables */
|
||||||
|
|
Loading…
Add table
Reference in a new issue