Changeset 172 for libmpc/branches/r2d/libmpcdec
- Timestamp:
- 12/20/06 00:53:36 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/libmpcdec/mpc_bits_reader.c
r161 r172 125 125 mpc_int32_t mpc_bits_huff_dec(mpc_bits_reader * r, const mpc_huffman *Table) 126 126 { 127 mpc_uint32_t code = ((r->buff[0] << 16) | (r->buff[1] << 8) | r->buff[2]) 127 int tmp; mpc_uint32_t code; 128 code = ((r->buff[0] << 16) | (r->buff[1] << 8) | r->buff[2]) 128 129 << (16 - r->count); 129 130 130 131 while (code < Table->Code) Table++; 131 132 132 inttmp = r->count - Table->Length;133 tmp = r->count - Table->Length; 133 134 r->buff -= tmp >> 3; 134 135 r->count = tmp & 0x07;
Note: See TracChangeset
for help on using the changeset viewer.