Changeset 462
- Timestamp:
- 07/13/10 12:32:21 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/libmpcdec/mpc_demux.c
r459 r462 517 517 d->seek_table_size ++; 518 518 } 519 mpc_demux_fill(d, 11, 0); // max header block size519 mpc_demux_fill(d, 11, MPC_BUFFER_FULL); // max header block size 520 520 mpc_bits_get_block(&d->bits_reader, &b); 521 521 while( memcmp(b.key, "AP", 2) != 0 ) { // scan all blocks until audio … … 526 526 return MPC_STATUS_OK; 527 527 } 528 if (mpc_demux_fill(d, 11 + (mpc_uint32_t) b.size, 0) == 0)528 if (mpc_demux_fill(d, 11 + (mpc_uint32_t) b.size, MPC_BUFFER_FULL) == 0) 529 529 goto error; 530 530 d->bits_reader.buff += b.size; … … 536 536 } 537 537 if (d->buffer + d->bytes_total - d->bits_reader.buff <= MAX_FRAME_SIZE) 538 mpc_demux_fill(d, (d->block_bits >> 3) + 1, 0);538 mpc_demux_fill(d, (d->block_bits >> 3) + 1, MPC_BUFFER_FULL); 539 539 r = d->bits_reader; 540 540 mpc_decoder_decode_frame(d->d, &d->bits_reader, i);
Note: See TracChangeset
for help on using the changeset viewer.