Ignore:
Timestamp:
11/25/06 15:19:25 (18 years ago)
Author:
r2d
Message:
  • updated libmpcdec win32 project files
  • removed some libmpcdec warnings in msvc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/libmpcdec/mpc_decoder.c

    r143 r151  
    158158
    159159        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);
    162162
    163163        if (d->samples_to_skip) {
Note: See TracChangeset for help on using the changeset viewer.