fix inflate state work area length

master
nik 2014-03-19 13:15:29 -03:00
rodzic 45f326272b
commit b525b6dca4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -147,7 +147,7 @@ function InflateState() {
//unsigned short array
//todo: test later with Uint16Array
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?
this.codes = new utils.Buf32(ENOUGH); /* space for code tables */