added control stage to MT mode
This commit is contained in:
1 parent
f35e2de61c
commit
23aace9778
2 files changed
+8
-6
No files matched your search
@@ -851,11 +851,11 @@ size_t ZSTDMT_endStream(ZSTDMT_CCtx* zcs, ZSTD_outBuffer* output)
|
||||
}
|
||||
|
||||
size_t ZSTDMT_compressStream_generic(ZSTDMT_CCtx* mtctx,
|
||||
ZSTD_outBuffer* output,
|
||||
ZSTD_inBuffer* input,
|
||||
ZSTD_EndDirective endOp)
|
||||
ZSTD_outBuffer* output,
|
||||
ZSTD_inBuffer* input,
|
||||
ZSTD_EndDirective endOp)
|
||||
{
|
||||
CHECK_F (ZSTDMT_compressStream(mtctx, output, input));
|
||||
CHECK_F(ZSTDMT_compressStream(mtctx, output, input));
|
||||
switch(endOp)
|
||||
{
|
||||
case ZSTD_e_flush:
|
||||
|
||||
Reference in new issue
Block a user