Changeset 310 for libmpc/trunk/libmpcdec/streaminfo.c
- Timestamp:
- 05/04/07 14:10:51 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/libmpcdec/streaminfo.c
r298 r310 105 105 106 106 si->bitrate = 0; 107 frames = mpc_bits_read(r, 32);107 frames = (mpc_bits_read(r, 16) << 16) | mpc_bits_read(r, 16); 108 108 mpc_bits_read(r, 1); // intensity stereo : should be 0 109 109 si->ms = mpc_bits_read(r, 1); … … 185 185 mpc_bits_reader r = *r_in; 186 186 187 CRC = mpc_bits_read(&r, 32);187 CRC = (mpc_bits_read(&r, 16) << 16) | mpc_bits_read(&r, 16); 188 188 if (CRC != crc32(r.buff + 1 - (r.count >> 3), (int)block_size - 4)) 189 189 return MPC_STATUS_FILE;
Note: See TracChangeset
for help on using the changeset viewer.