Changeset 161 for libmpc/branches/r2d/libmpcdec/mpc_demux.c
- Timestamp:
- 12/18/06 20:52:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/libmpcdec/mpc_demux.c
r152 r161 312 312 if (d->si.stream_version >= 8) { 313 313 mpc_bits_reader r; 314 i->is_key_frame = MPC_FALSE; 314 315 if (d->block_bits < 8 && d->end == MPC_FALSE) { 315 mpc_block b ;316 mpc_block b = {{0,0},0}; 316 317 d->bits_reader.count &= -8; 317 318 if (d->d->decoded_samples == (d->seek_table_size << d->seek_pwr) * MPC_FRAME_LENGTH) { … … 331 332 } 332 333 d->block_bits = (mpc_uint32_t) b.size * 8; 334 i->is_key_frame = MPC_TRUE; 333 335 } 334 336 // FIXME : this is not good if block size > buffer size
Note: See TracChangeset
for help on using the changeset viewer.