Skip to content

Conversation

tokers
Copy link
Owner

@tokers tokers commented Sep 28, 2023

The function ZSTD_initCStream_usingCDict was deprecated since zstd 1.5.0. In such a case, let's use ZSTD_CCtx_reset and ZSTD_CCtx_refCDict instead.

This PR fixed the issue #28.

…on >= 1.5.0

Signed-off-by: tokers <zhangchao.1995@bytedance.com>
@SuperSandro2000
Copy link
Contributor

SuperSandro2000 commented Oct 20, 2023

the warning is no longer displayed with this commit

@tokers tokers merged commit 6be764e into master Oct 23, 2023
@tokers tokers deleted the fix/avoid-deprecated-functions branch October 23, 2023 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants