]> git.ipfire.org Git - thirdparty/zstd.git/commit
minor fix : no longer use fake srcSize during resource creation
authorYann Collet <cyan@fb.com>
Sat, 30 Sep 2017 02:40:27 +0000 (19:40 -0700)
committerYann Collet <cyan@fb.com>
Sat, 30 Sep 2017 02:40:27 +0000 (19:40 -0700)
commitfbd5ab70272095255948255368ac4f2f64aca780
tree76bd818bd80b9bf1da660963bae7b490b0e9625e
parentdb1668a43b14df7159400d552e34d20627ba3218
minor fix : no longer use fake srcSize during resource creation

srcSize is read and provided at each file, not at resource creation.
This used to be useful with older API, because it could not re-adapt parameters between sessions.

At some point, it will be better to remove the old code, and only keep the new_api.
It works fine by now.
lib/compress/zstd_compress.c
programs/fileio.c