Changeset 151 for libmpc/branches/r2d/libmpcdec/mpc_decoder.c
- Timestamp:
- 11/25/06 15:19:25 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/libmpcdec/mpc_decoder.c
r143 r151 158 158 159 159 samples_left = d->samples - d->decoded_samples + MPC_DECODER_SYNTH_DELAY; 160 i->samples = samples_left > MPC_FRAME_LENGTH ? MPC_FRAME_LENGTH : samples_left < 0 ? 0 : samples_left;161 i->bits = ( (r->buff - r_sav.buff) << 3) + r_sav.count - r->count;160 i->samples = samples_left > MPC_FRAME_LENGTH ? MPC_FRAME_LENGTH : samples_left < 0 ? 0 : (mpc_uint32_t) samples_left; 161 i->bits = (mpc_uint32_t) (((r->buff - r_sav.buff) << 3) + r_sav.count - r->count); 162 162 163 163 if (d->samples_to_skip) {
Note: See TracChangeset
for help on using the changeset viewer.