Wrap the new advanced api completely

This commit is contained in:
Nick Terrell
2019-03-21 10:54:40 -07:00
parent 11e73576bb
commit e55da9e963
4 changed files with 70 additions and 66 deletions
+1 -1
View File
@@ -1967,7 +1967,7 @@ size_t ZSTDMT_compressStream_generic(ZSTDMT_CCtx* mtctx,
assert(input->pos <= input->size);
if (mtctx->singleBlockingThread) { /* delegate to single-thread (synchronous) */
return ZSTD_compressStream_generic(mtctx->cctxPool->cctx[0], output, input, endOp);
return ZSTD_compressStream2(mtctx->cctxPool->cctx[0], output, input, endOp);
}
if ((mtctx->frameEnded) && (endOp==ZSTD_e_continue)) {