mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 09:23:50 +01:00
igzip: Add precautionary reset hist_bits on stateless_init
The zstate.hist_bits is an option and shouldn't be set randomly by a deflate stateless run but like level we may set anyway. Change-Id: I37d3b51863d4697e964d45a482ddd526f40a0902 Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
parent
33a2d94845
commit
9f2b68f057
@ -1163,6 +1163,7 @@ void isal_deflate_stateless_init(struct isal_zstream *stream)
|
||||
stream->end_of_stream = 0;
|
||||
stream->flush = NO_FLUSH;
|
||||
stream->gzip_flag = 0;
|
||||
stream->hist_bits = 0;
|
||||
stream->internal_state.has_wrap_hdr = 0;
|
||||
stream->internal_state.state = ZSTATE_NEW_HDR;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user