Index: /libmpc/branches/r2d/libmpcdec/mpc_demux.c
===================================================================
--- /libmpc/branches/r2d/libmpcdec/mpc_demux.c	(revision 277)
+++ /libmpc/branches/r2d/libmpcdec/mpc_demux.c	(revision 278)
@@ -411,5 +411,5 @@
 		r = d->bits_reader;
 		mpc_decoder_decode_frame(d->d, &d->bits_reader, i);
-		if (d->block_bits != ((d->bits_reader.buff - r.buff) << 3) + r.count - d->bits_reader.count) {
+		if (i->bits != -1 && d->block_bits != ((d->bits_reader.buff - r.buff) << 3) + r.count - d->bits_reader.count) {
 			i->bits = -1; // we pretend it's end of file
 			return MPC_STATUS_INVALIDSV;
