infback.c (134354) | infback.c (146081) |
---|---|
1/* infback.c -- inflate using a call-back interface 2 * Copyright (C) 1995-2003 Mark Adler 3 * For conditions of distribution and use, see copyright notice in zlib.h 4 */ 5 6/* 7 This code is largely copied from inflate.c. Normally either infback.o or 8 inflate.o would be linked into an application--not both. The interface --- 420 unchanged lines hidden (view full) --- 429 state->mode = BAD; 430 break; 431 } 432 while (copy--) 433 state->lens[state->have++] = (unsigned short)len; 434 } 435 } 436 | 1/* infback.c -- inflate using a call-back interface 2 * Copyright (C) 1995-2003 Mark Adler 3 * For conditions of distribution and use, see copyright notice in zlib.h 4 */ 5 6/* 7 This code is largely copied from inflate.c. Normally either infback.o or 8 inflate.o would be linked into an application--not both. The interface --- 420 unchanged lines hidden (view full) --- 429 state->mode = BAD; 430 break; 431 } 432 while (copy--) 433 state->lens[state->have++] = (unsigned short)len; 434 } 435 } 436 |
437 if (state->mode == BAD) 438 break; | 437 /* handle error breaks in while */ 438 if (state->mode == BAD) break; |
439 440 /* build code tables */ 441 state->next = state->codes; 442 state->lencode = (code const FAR *)(state->next); 443 state->lenbits = 9; 444 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next), 445 &(state->lenbits), state->work); 446 if (ret) { --- 176 unchanged lines hidden --- | 439 440 /* build code tables */ 441 state->next = state->codes; 442 state->lencode = (code const FAR *)(state->next); 443 state->lenbits = 9; 444 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next), 445 &(state->lenbits), state->work); 446 if (ret) { --- 176 unchanged lines hidden --- |