Skip to content

Commit

Permalink
Manually merged 8c4cdb2 by mvwieringen
Browse files Browse the repository at this point in the history
  * "The zlib deflateResetKeep that is called from deflateReset of which fastlzlibReset is an equivalence off resets more fields so added resetting these fields in fastlzlibReset too"
  • Loading branch information
Xavier Roche committed Mar 27, 2013
1 parent 915a9f6 commit e3b92d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fastlzlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ static void fastlzlibReset(zfast_stream *s) {
s->state->dec_size = 0;
s->state->inBuffOffs = 0;
s->state->outBuffOffs = 0;
s->total_in = 0;
s->total_out = 0;
}

static ZFASTINLINE int fastlzlibGetBlockSizeLevel(int block_size) {
Expand Down

0 comments on commit e3b92d5

Please sign in to comment.