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 580d9c5 commit b0347d8Copy full SHA for b0347d8
src/isal/igzip_lib.pyx
@@ -266,7 +266,7 @@ cdef class IgzipDecompressor:
266
cdef inflate_state stream
267
cdef unsigned char * input_buffer
268
cdef size_t input_buffer_size
269
- cdef size_t avail_in_real
+ cdef Py_ssize_t avail_in_real
270
271
def __cinit__(self,
272
flag=ISAL_DEFLATE,
@@ -310,8 +310,8 @@ cdef class IgzipDecompressor:
310
raise MemoryError("Unsufficient memory for buffer allocation")
311
elif obuflen == -2:
312
break
313
+ arrange_input_buffer(&self.stream, &self.avail_in_real)
314
err = isal_inflate(&self.stream)
- data_size = self.stream.next_out - obuf
315
if err != ISAL_DECOMP_OK:
316
check_isal_inflate_rc(err)
317
if self.stream.block_state == ISAL_BLOCK_FINISH:
0 commit comments