Skip to content
Commit 9d91e95c authored by Benjamin Gilbert's avatar Benjamin Gilbert
Browse files

zstd decompression helper cleanups



Rename the function for consistency with _openslide_inflate_buffer().
Don't bother checking the size of the first compressed frame, since there
might be more than one, and libzstd should fail if there isn't enough
output space.  Do check that the decompressed data matches the expected
length.  Use int64_t arguments rather than ones with arch-dependent
widths.  Use g_try_malloc().

Signed-off-by: default avatarBenjamin Gilbert <bgilbert@cs.cmu.edu>
parent 50f12ebc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment