introduced constants ZSTD_STRATEGY_MIN and ZSTD_STRATEGY_MAX

This commit is contained in:
Yann Collet
2018-12-06 16:16:16 -08:00
parent c3c3488981
commit 39e28982cf
4 changed files with 21 additions and 18 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ ZSTD_compressionParameters FUZZ_randomCParams(size_t srcSize, uint32_t *state)
cParams.minMatch = FUZZ_rand32(state, ZSTD_MINMATCH_MIN,
ZSTD_MINMATCH_MAX);
cParams.targetLength = FUZZ_rand32(state, 0, 512);
cParams.strategy = FUZZ_rand32(state, ZSTD_fast, ZSTD_btultra2);
cParams.strategy = FUZZ_rand32(state, ZSTD_STRATEGY_MIN, ZSTD_STRATEGY_MAX);
return ZSTD_adjustCParams(cParams, srcSize, 0);
}