Changeset 288 for libmpc/branches/r2d/libmpcdec/mpc_decoder.c
- Timestamp:
- 04/22/07 15:43:13 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/libmpcdec/mpc_decoder.c
r284 r288 655 655 for ( ; k < 36; k += 2 ) { 656 656 union { 657 mpc_ uint8_t sym;658 struct { mpc_int 16_t s1:4, s2:4; };657 mpc_int8_t sym; 658 struct { mpc_int8_t s1:4, s2:4; }; 659 659 } tmp; 660 tmp.sym = (mpc_uint8_t)mpc_bits_huff_dec(r, Table);660 tmp.sym = mpc_bits_huff_dec(r, Table); 661 661 q[k] = tmp.s1; 662 662 q[k + 1] = tmp.s2; … … 672 672 } else { 673 673 for ( ; k < 36; k++ ) { 674 q[k] = mpc_bits_huff_dec(r, mpc_table_HuffQ9up_8);674 q[k] = (unsigned char) mpc_bits_huff_dec(r, mpc_table_HuffQ9up_8); 675 675 if (Res != 9) 676 676 q[k] = (q[k] << (Res - 9)) | mpc_bits_read(r, Res - 9);
Note: See TracChangeset
for help on using the changeset viewer.