We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 466deaf commit 300ef6bCopy full SHA for 300ef6b
src/isal/isal_zlib.pyx
@@ -521,10 +521,7 @@ cdef class Decompress:
521
cdef wbits_to_flag_and_hist_bits_deflate(int wbits,
522
unsigned short * hist_bits,
523
unsigned short * gzip_flag):
524
- if wbits == 0:
525
- hist_bits[0] = 0
526
- gzip_flag[0] = IGZIP_ZLIB
527
- elif 9 <= wbits <= 15: # zlib headers and trailers on compressed stream
+ if 9 <= wbits <= 15: # zlib headers and trailers on compressed stream
528
hist_bits[0] = wbits
529
gzip_flag[0] = IGZIP_ZLIB
530
elif 25 <= wbits <= 31: # gzip headers and trailers on compressed stream
0 commit comments