Update miniz_tdef.c
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
This commit is contained in:
parent
cd1dc96d27
commit
7c459c8a05
@ -629,7 +629,7 @@ static int tdefl_flush_block(tdefl_compressor *d, int flush)
|
||||
mz_uint header, i, n = sizeof(s_tdefl_num_probes) / sizeof(mz_uint);
|
||||
|
||||
/* Determine compression level by reversing the process in tdefl_create_comp_flags_from_zip_params() */
|
||||
for (i=0; i < n; i++)
|
||||
for (i = 0; i < n; i++)
|
||||
if (s_tdefl_num_probes[i] == (d->m_flags & 0xFFF)) break;
|
||||
|
||||
if (i < 2)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user