tests with ZSTD_setPledgedSrcSize
This commit is contained in:
1 parent
230a61fff2
commit
7e7925710d
3 files changed
+9
-3
No files matched your search
@@ -112,7 +112,7 @@ ZWRAP_CCtx* ZWRAP_createCCtx(z_streamp strm)
|
||||
memcpy(&zwc->customMem, &defaultCustomMem, sizeof(ZSTD_customMem));
|
||||
}
|
||||
|
||||
zwc->pledgedSrcSize = 1<<16;
|
||||
zwc->pledgedSrcSize = 0;
|
||||
zwc->zbc = ZSTD_createCStream_advanced(zwc->customMem);
|
||||
if (zwc->zbc == NULL) { ZWRAP_freeCCtx(zwc); return NULL; }
|
||||
return zwc;
|
||||
|
||||
Reference in new issue
Block a user