aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-07-27 13:19:17 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-07-27 13:19:17 +0000
commita6b00949afe5faa080aeca1a17ad598a629fe493 (patch)
tree9ea88149a0cd370b9163c33b435e83658873a439 /src
parent6f327de43dcdb772fb46ba77f73420e8c6e3bab0 (diff)
downloadqmmp-a6b00949afe5faa080aeca1a17ad598a629fe493.tar.gz
qmmp-a6b00949afe5faa080aeca1a17ad598a629fe493.tar.bz2
qmmp-a6b00949afe5faa080aeca1a17ad598a629fe493.zip
mpeg plugin: fixed regression
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1083 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Input/mad/decoder_mad.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}