diff options
author | Nathan Moinvaziri <nathan@solidstatenetworks.com> | 2020-06-08 18:59:29 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2020-06-09 08:18:33 +0200 |
commit | 4c340f799bdbaf21f1b35926d9db67082935953c (patch) | |
tree | fd55465014045c8a0790e80a306c9342657686bf /deflate.c | |
parent | 38bdf9b1d890243f30e1f8d085d45c5a44cbaa99 (diff) |
Fixed deflate_quick algorithm not being used due to old check.
Diffstat (limited to 'deflate.c')
-rw-r--r-- | deflate.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1003,9 +1003,6 @@ int ZEXPORT PREFIX(deflate)(PREFIX3(stream) *strm, int flush) { s->level == 0 ? deflate_stored(s, flush) : s->strategy == Z_HUFFMAN_ONLY ? deflate_huff(s, flush) : s->strategy == Z_RLE ? deflate_rle(s, flush) : -#ifndef NO_QUICK_STRATEGY - s->level == 1 ? deflate_fast(s, flush) : -#endif (*(configuration_table[s->level].func))(s, flush); if (bstate == finish_started || bstate == finish_done) { |