1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-28 00:01:53 +03:00

added ZWRAP_initializeCStream

This commit is contained in:
inikep
2016-09-21 19:30:29 +02:00
parent 7e7925710d
commit 61abecc417
2 changed files with 35 additions and 16 deletions

View File

@ -165,9 +165,6 @@ int main(int argc, char **argv)
ret = ZSTD_setPledgedSrcSize(&def, 1<<16);
if (ret != Z_OK)
quit("ZSTD_setPledgedSrcSize");
ret = deflateReset(&def);
if (ret != Z_OK)
quit("deflateReset");
/* compress from stdin until output full, or no more input */
def.avail_out = size + EXCESS;