diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-07-02 17:28:05 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-07-02 17:28:05 +0200 |
commit | ace5e90b3dbc33f0fc34ac2f3dc40d3c990a6a11 (patch) | |
tree | 0b5cda436e04ee29efb5220da5634d04455c65c0 /lzo/src/lzo1b_d.ch | |
parent | 78172a10165a969b8c002b6bdcf9dc47fa6cd5f3 (diff) |
Update lzo version
Diffstat (limited to 'lzo/src/lzo1b_d.ch')
-rw-r--r-- | lzo/src/lzo1b_d.ch | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lzo/src/lzo1b_d.ch b/lzo/src/lzo1b_d.ch index e38fad58..fe5f3611 100644 --- a/lzo/src/lzo1b_d.ch +++ b/lzo/src/lzo1b_d.ch @@ -2,6 +2,9 @@ This file is part of the LZO real-time data compression library. + Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer @@ -95,8 +98,8 @@ DO_DECOMPRESS ( const lzo_bytep in , lzo_uint in_len, NEED_IP(t); NEED_OP(t); #if 1 && defined(LZO_UNALIGNED_OK_4) do { - * (lzo_uint32p) (op+0) = * (const lzo_uint32p) (ip+0); - * (lzo_uint32p) (op+4) = * (const lzo_uint32p) (ip+4); + UA_COPY32(op+0, ip+0); + UA_COPY32(op+4, ip+4); op += 8; ip += 8; t -= 8; } while (t > 0); @@ -114,7 +117,7 @@ DO_DECOMPRESS ( const lzo_bytep in , lzo_uint in_len, if (t >= 4) { do { - * (lzo_uint32p) op = * (const lzo_uint32p) ip; + UA_COPY32(op, ip); op += 4; ip += 4; t -= 4; } while (t >= 4); if (t > 0) do *op++ = *ip++; while (--t > 0); @@ -205,10 +208,10 @@ match: #if defined(LZO_UNALIGNED_OK_4) if (t >= 2 * 4 - (M3_MIN_LEN - 1) && (op - m_pos) >= 4) { - * (lzo_uint32p) op = * (const lzo_uint32p) m_pos; + UA_COPY32(op, m_pos); op += 4; m_pos += 4; t -= 4 - (M3_MIN_LEN - 1); do { - * (lzo_uint32p) op = * (const lzo_uint32p) m_pos; + UA_COPY32(op, m_pos); op += 4; m_pos += 4; t -= 4; } while (t >= 4); if (t > 0) do *op++ = *m_pos++; while (--t > 0); |