igzip: Initialize avail_in in igzip_cli compress

Change-Id: I2c03c12c4afdc4118fc8dccb04229b9e70d7a610
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
This commit is contained in:
Roy Oursler 2018-11-29 16:45:06 -07:00
parent 8195446d19
commit f76288339a

View File

@ -472,6 +472,7 @@ int compress_file(void)
gz_hdr.name_buf_len = infile_name_len + 1;
isal_deflate_init(&stream);
stream.avail_in = 0;
stream.flush = NO_FLUSH;
stream.level = level;
stream.level_buf = level_buf;