Skip to content
Snippets Groups Projects
Commit 5261a288 authored by Nick Terrell's avatar Nick Terrell
Browse files

Fix a bug in the compress cctx method

parent 3d7377b8
No related branches found
No related tags found
No related merge requests found
......@@ -175,8 +175,8 @@ static result_t compress_cctx_compress(
state->compressed.capacity,
input.data,
input.size,
state->dictionary.data,
state->dictionary.size,
config->use_dictionary ? state->dictionary.data : NULL,
config->use_dictionary ? state->dictionary.size : 0,
params);
else if (config->use_dictionary)
state->compressed.size = ZSTD_compress_usingDict(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment