]> git.ipfire.org Git - thirdparty/zstd.git/commit
Stop using deprecated reset?Stream functions 2504/head
authorStephen Kitt <steve@sk2.org>
Sat, 20 Feb 2021 16:28:19 +0000 (17:28 +0100)
committerStephen Kitt <steve@sk2.org>
Tue, 23 Feb 2021 20:56:01 +0000 (21:56 +0100)
commitadb54293ab6fce33afb1a01fe79f38ad3788026e
treedd4816fbb0fec6b9f681c3300dc63f2671b8e91f
parentf7cffb5d9dad8e24e865371ada86a0084697250a
Stop using deprecated reset?Stream functions

These are replaced by the corresponding context resets. When
converting resetCStream, CCtx_setPledgedSrcSize isn't called if the
source size is "unknown".

This helps reduce the reliance on "static only" symbols, as well as
reducing the use of deprecated functions.

Signed-off-by: Stephen Kitt <steve@sk2.org>
contrib/pzstd/Pzstd.cpp
contrib/seekable_format/zstdseek_compress.c
contrib/seekable_format/zstdseek_decompress.c
programs/fileio.c
zlibWrapper/examples/zwrapbench.c
zlibWrapper/zstd_zlibwrapper.c