]> git.ipfire.org Git - thirdparty/zstd.git/commit
Allow negative compression levels in training 1104/head
authorNick Terrell <terrelln@fb.com>
Mon, 9 Apr 2018 19:09:28 +0000 (12:09 -0700)
committerNick Terrell <terrelln@fb.com>
Mon, 9 Apr 2018 19:12:03 +0000 (12:12 -0700)
commit569e2abccd397c26539188cf5ac788bb592f1246
tree50a9cc69e71201ae599eed6329e97977cbde6fb7
parentdaf3ab0aad663fc0c5217593b830caa06f6032ac
Allow negative compression levels in training

* Set `dictCLevel` in `zstdcli.c`.
* Only set to default level if the compression level `== 0`, not `<= 0`.
lib/dictBuilder/zdict.c
programs/zstdcli.c