master
Vitaly Puzrin 2014-02-19 09:52:17 +04:00
rodzic 19c70cc6a8
commit 0d4a1bcd64
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1336,6 +1336,7 @@ function deflate(strm, flush) {
(strm->next_in == Z_NULL && strm->avail_in != 0) ||
(s->status == FINISH_STATE && flush != Z_FINISH)) {
ERR_RETURN(strm, Z_STREAM_ERROR);
if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
}*/
s.strm = strm; /* just in case */
@ -1456,7 +1457,7 @@ function deflate(strm, flush) {
}
else if (flush !== c.Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */
trees._tr_stored_block(s, 0, 0, 0);
trees._tr_stored_block(s, 0, 0, false);
/* For a full flush, this empty block will be recognized
* as a special marker by inflate_sync().
*/