]> git.ipfire.org Git - thirdparty/zstd.git/commit
[lib] Set appliedParams.compressionLevel correctly 2497/head
authorNick Terrell <terrelln@fb.com>
Fri, 12 Feb 2021 22:53:07 +0000 (14:53 -0800)
committerNick Terrell <terrelln@fb.com>
Fri, 12 Feb 2021 23:00:14 +0000 (15:00 -0800)
commitc62eb05964702412ad467916b47ec76cff34b266
tree89801634b44a9d11b887276a73a708d7cd158d07
parent3ac842d6cce3e28985ac8872320f0eb0e5597bb1
[lib] Set appliedParams.compressionLevel correctly

Forward the correct compressionLevel to the appliedParams in all cases.
It was already correct for the advanced API, so only the old single-pass
functions needed to be fixed.

This compression level is unused by the library, but is set so that the
tracing framework can consume it.
lib/compress/zstd_compress.c