Do not return Z_BUF_ERROR if deflateParam() has nothing to write.
If the compressed data was already at a block boundary, then deflateParam() would report Z_BUF_ERROR, because there was nothing to write. With this patch, Z_OK is returned in that case.
This commit is contained in:
parent
81c3068b9a
commit
c661c374e8
Loading…
Reference in New Issue
Block a user