Changeset 281


Ignore:
Timestamp:
04/20/07 21:36:50 (18 years ago)
Author:
r2d
Message:

corrected file length error

File:
1 edited

Legend:

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

    r278 r281  
    409409                mpc_demux_fill(d, MAX_FRAME_SIZE, MPC_BUFFER_FULL | MPC_BUFFER_SWAP);
    410410                d->block_bits = (mpc_int_t) mpc_bits_read(&d->bits_reader, 20); // read frame size
     411                if (d->d->decoded_samples + MPC_FRAME_LENGTH == d->d->samples) d->block_bits += 11; // we will read last frame size
    411412                r = d->bits_reader;
    412413                mpc_decoder_decode_frame(d->d, &d->bits_reader, i);
Note: See TracChangeset for help on using the changeset viewer.