diff options
-rw-r--r-- | lib/lz4frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4frame.c b/lib/lz4frame.c index d087a94..a43f595 100644 --- a/lib/lz4frame.c +++ b/lib/lz4frame.c @@ -550,7 +550,7 @@ static void LZ4F_applyCDict(void* ctx, LZ4_attach_dictionary((LZ4_stream_t *)ctx, cdict ? cdict->fastCtx : NULL); } else { LZ4HC_CCtx_internal *internal_ctx = &((LZ4_streamHC_t *)ctx)->internal_donotuse; - LZ4_resetStreamHC((LZ4_streamHC_t*)ctx, level); + LZ4_resetStreamHC_fast((LZ4_streamHC_t*)ctx, level); internal_ctx->dictCtx = cdict ? &(cdict->HCCtx->internal_donotuse) : NULL; } } |