From 2bd02b9b70221c70077960145f371856aba60baa Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 28 Aug 2020 21:24:49 +0000 Subject: fixed support for some mp3 files with lame header (#1060) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9484 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/mpeg/decoder_mad.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/plugins/Input/mpeg') diff --git a/src/plugins/Input/mpeg/decoder_mad.cpp b/src/plugins/Input/mpeg/decoder_mad.cpp index 58f48f680..59b77c71d 100644 --- a/src/plugins/Input/mpeg/decoder_mad.cpp +++ b/src/plugins/Input/mpeg/decoder_mad.cpp @@ -391,6 +391,11 @@ qint64 DecoderMAD::read(unsigned char *data, qint64 size) m_play_bytes -= l; return l; } + else + { + m_skip_bytes = 0; + break; + } } if(!decodeFrame()) -- cgit v1.2.3-13-gbd6f