added ZWRAP_initializeCStream

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

No files matched your search

-3
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;