Index: /libmpc/trunk/libmpcdec/mpc_demux.c
===================================================================
--- /libmpc/trunk/libmpcdec/mpc_demux.c	(revision 461)
+++ /libmpc/trunk/libmpcdec/mpc_demux.c	(revision 462)
@@ -517,5 +517,5 @@
 				d->seek_table_size ++;
 			}
-			mpc_demux_fill(d, 11, 0); // max header block size
+			mpc_demux_fill(d, 11, MPC_BUFFER_FULL); // max header block size
 			mpc_bits_get_block(&d->bits_reader, &b);
 			while( memcmp(b.key, "AP", 2) != 0 ) { // scan all blocks until audio
@@ -526,5 +526,5 @@
 					return MPC_STATUS_OK;
 				}
-				if (mpc_demux_fill(d, 11 + (mpc_uint32_t) b.size, 0) == 0)
+				if (mpc_demux_fill(d, 11 + (mpc_uint32_t) b.size, MPC_BUFFER_FULL) == 0)
 					goto error;
 				d->bits_reader.buff += b.size;
@@ -536,5 +536,5 @@
 		}
 		if (d->buffer + d->bytes_total - d->bits_reader.buff <= MAX_FRAME_SIZE)
-			mpc_demux_fill(d, (d->block_bits >> 3) + 1, 0);
+			mpc_demux_fill(d, (d->block_bits >> 3) + 1, MPC_BUFFER_FULL);
 		r = d->bits_reader;
 		mpc_decoder_decode_frame(d->d, &d->bits_reader, i);
