From 411a6c40f71b28328262a195935c5f94f3584d8e Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 20 Jul 2009 18:02:12 +0000 Subject: enabled wavpack plugin, fixed problem with slow seeking git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1053 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/wavpack/cueparser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/Input/wavpack/cueparser.cpp') diff --git a/src/plugins/Input/wavpack/cueparser.cpp b/src/plugins/Input/wavpack/cueparser.cpp index db837c427..1130639d1 100644 --- a/src/plugins/Input/wavpack/cueparser.cpp +++ b/src/plugins/Input/wavpack/cueparser.cpp @@ -69,10 +69,10 @@ CUEParser::CUEParser(const QByteArray &array, const QString &fileName) } else if (words[0] == "INDEX") { - if (m_infoList.isEmpty()) + if (m_infoList.isEmpty() || words[1] != "01") continue; - m_infoList.last ().setLength(getLength(words[2])); - m_offsets.last() = getLength(words[2]); + m_infoList.last ().setLength(getLength(words[2])); + m_offsets.last() = getLength(words[2]); } else if (words[0] == "REM") { -- cgit v1.2.3-13-gbd6f