diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-07-20 18:02:12 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-07-20 18:02:12 +0000 |
| commit | 411a6c40f71b28328262a195935c5f94f3584d8e (patch) | |
| tree | d23f93901ae1a9618d316c4f439bc0dbbe552495 /src/plugins/Input/wavpack/cueparser.cpp | |
| parent | 136ed47dafbd60544add69a7f2d720b7929bd83e (diff) | |
| download | qmmp-411a6c40f71b28328262a195935c5f94f3584d8e.tar.gz qmmp-411a6c40f71b28328262a195935c5f94f3584d8e.tar.bz2 qmmp-411a6c40f71b28328262a195935c5f94f3584d8e.zip | |
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
Diffstat (limited to 'src/plugins/Input/wavpack/cueparser.cpp')
| -rw-r--r-- | src/plugins/Input/wavpack/cueparser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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") { |
