CLI : automatically set overlap size to max (windowSize) for max compression level

This commit is contained in:
Yann Collet
2017-01-25 17:01:13 -08:00
parent 06e7697f96
commit 8dafb1acf5
6 changed files with 18 additions and 9 deletions
+2 -2
View File
@@ -992,8 +992,8 @@ int main(int argc, const char** argv)
int mainPause = 0;
int mtOnly = 0;
const char* const programName = argv[0];
ZSTD_customMem customMem = { allocFunction, freeFunction, NULL };
ZSTD_customMem customNULL = { NULL, NULL, NULL };
ZSTD_customMem const customMem = { allocFunction, freeFunction, NULL };
ZSTD_customMem const customNULL = { NULL, NULL, NULL };
/* Check command line */
for(argNb=1; argNb<argc; argNb++) {