This commit is contained in:
osboxes.org 2019-04-10 09:36:23 +02:00
commit ad52243981
4 changed files with 16 additions and 16 deletions

View file

@ -206,9 +206,9 @@ int zlib_decompress(FILE *infile, FILE *outfile) {
compressed_fpga_stream.opaque = Z_NULL;
ret = inflateInit2(&compressed_fpga_stream, 0);
if ( ret < 0 )
if (ret < 0)
return (EXIT_FAILURE);
do {
if (compressed_fpga_stream.avail_in == 0) {
compressed_fpga_stream.next_in = inbuf;