]> git.ipfire.org Git - thirdparty/zstd.git/commit
[lib] Avoid allocating output buffer when ZSTD_c_stableOutBuffer is set
authorNick Terrell <terrelln@fb.com>
Mon, 12 Oct 2020 21:17:22 +0000 (14:17 -0700)
committerNick Terrell <terrelln@fb.com>
Fri, 30 Oct 2020 17:55:34 +0000 (10:55 -0700)
commitfcf81cee5eae719672d4a216681d634b16b2c9eb
tree3cbba162428be0f2e18e919850783e081ad5de1c
parent6d5dc93d4e34c8420e4fa2779b704ad4ce61df2c
[lib] Avoid allocating output buffer when ZSTD_c_stableOutBuffer is set

We compress directly to the `ZSTD_outBuffer` so we don't need to
allocate it.
lib/compress/zstd_compress.c