View | Details | Raw Unified
Collapse All | Expand All

(-) bzip2-1.0.4/bzlib_private.h (-2 / +9 lines)
 Lines 598-603    Link Here 
      UInt32        c_tPos               = s->tPos;
      UInt32        c_tPos               = s->tPos;
      char*         cs_next_out          = s->strm->next_out;
      char*         cs_next_out          = s->strm->next_out;
      unsigned int  cs_avail_out         = s->strm->avail_out;
      unsigned int  cs_avail_out         = s->strm->avail_out;
      Int32         ro_blockSize100k     = s->blockSize100k;
      /* end restore */
      /* end restore */
      UInt32       avail_out_INIT = cs_avail_out;
      UInt32       avail_out_INIT = cs_avail_out;
 Lines 442-452    Link Here 
/*-- Macros for decompression. --*/
/*-- Macros for decompression. --*/
#define BZ_GET_FAST(cccc)                     \
#define BZ_GET_FAST(cccc)                     \
    /* c_tPos is unsigned, hence test < 0 is pointless. */ \
    if (s->tPos >= (UInt32)100000 * (UInt32)s->blockSize100k) return True; \
    s->tPos = s->tt[s->tPos];                 \
    s->tPos = s->tt[s->tPos];                 \
    cccc = (UChar)(s->tPos & 0xff);           \
    cccc = (UChar)(s->tPos & 0xff);           \
    s->tPos >>= 8;
    s->tPos >>= 8;
#define BZ_GET_FAST_C(cccc)                   \
#define BZ_GET_FAST_C(cccc)                   \
    /* c_tPos is unsigned, hence test < 0 is pointless. */ \
    if (c_tPos >= (UInt32)100000 * (UInt32)ro_blockSize100k) return True; \
    c_tPos = c_tt[c_tPos];                    \
    c_tPos = c_tt[c_tPos];                    \
    cccc = (UChar)(c_tPos & 0xff);            \
    cccc = (UChar)(c_tPos & 0xff);            \
    c_tPos >>= 8;
    c_tPos >>= 8;
 Lines 469-476    Link Here 
   (((UInt32)s->ll16[i]) | (GET_LL4(i) << 16))
   (((UInt32)s->ll16[i]) | (GET_LL4(i) << 16))
#define BZ_GET_SMALL(cccc)                            \
#define BZ_GET_SMALL(cccc)                            \
      cccc = BZ2_indexIntoF ( s->tPos, s->cftab );    \
    /* c_tPos is unsigned, hence test < 0 is pointless. */ \
      s->tPos = GET_LL(s->tPos);
    if (s->tPos >= (UInt32)100000 * (UInt32)s->blockSize100k) return True; \
    cccc = BZ2_indexIntoF ( s->tPos, s->cftab );    \
    s->tPos = GET_LL(s->tPos);
/*-- externs for decompression. --*/
/*-- externs for decompression. --*/