From a6b00949afe5faa080aeca1a17ad598a629fe493 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 27 Jul 2009 13:19:17 +0000 Subject: mpeg plugin: fixed regression git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1083 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/mad/decoder_mad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/Input/mad/decoder_mad.cpp') diff --git a/src/plugins/Input/mad/decoder_mad.cpp b/src/plugins/Input/mad/decoder_mad.cpp index 766e8a678..572063ba2 100644 --- a/src/plugins/Input/mad/decoder_mad.cpp +++ b/src/plugins/Input/mad/decoder_mad.cpp @@ -318,7 +318,7 @@ qint64 DecoderMAD::readAudio(char *data, qint64 size) { forever { - if((stream.error == MAD_ERROR_BUFLEN) || !stream.buffer) + if(((stream.error == MAD_ERROR_BUFLEN) || !stream.buffer) && !m_eof) { m_eof = !fillBuffer(); } -- cgit v1.2.3-13-gbd6f