summaryrefslogtreecommitdiff
path: root/inflate.c
diff options
context:
space:
mode:
authorChris Blume <cblume@chromium.org>2018-02-13 19:57:43 +0000
committerCommit Bot <commit-bot@chromium.org>2018-02-13 19:57:43 +0000
commitb9c1566fac1905dce9d8a8d7a970f6fa013c9e50 (patch)
treef2a04254b669e413a264653dcc3a3afa4825204d /inflate.c
parent71eb81fdab83a9ead84fdb05fea1903b718f0229 (diff)
downloadzlib-b9c1566fac1905dce9d8a8d7a970f6fa013c9e50.tar.gz
Share inffast names in zlib
We use a different set of names in root and contrib directories for the same purpose. This patch consolidates the names. BUG=764431 Change-Id: I346a6f9ab67423b97843346bab6b0c58f516ed1d Reviewed-on: https://chromium-review.googlesource.com/914469 Commit-Queue: Chris Blume <cblume@chromium.org> Reviewed-by: Noel Gordon <noel@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#536429} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 46f115f22260093ee7bc2a8764adf64d9c48a612
Diffstat (limited to 'inflate.c')
-rw-r--r--inflate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/inflate.c b/inflate.c
index 5c40cf1..68902e8 100644
--- a/inflate.c
+++ b/inflate.c
@@ -1043,8 +1043,8 @@ int flush;
case LEN_:
state->mode = LEN;
case LEN:
- if (have >= INFLATE_FAST_MIN_HAVE &&
- left >= INFLATE_FAST_MIN_LEFT) {
+ if (have >= INFLATE_FAST_MIN_INPUT &&
+ left >= INFLATE_FAST_MIN_OUTPUT) {
RESTORE();
inflate_fast(strm, out);
LOAD();