Fix a wrong parameter for zlib.
z_stream.avail_in has to be the length of the input buffer. It will fail when frameDataLength is smaller than the actual compressed data size.
Loading
Please sign in to comment
z_stream.avail_in has to be the length of the input buffer. It will fail when frameDataLength is smaller than the actual compressed data size.