diff data/fileio/WavFileReader.cpp @ 384:6f6ab834449d spectrogram-cache-rejig

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents c324d410b096
children ecef2f1bec18
line wrap: on
line diff
--- a/data/fileio/WavFileReader.cpp	Thu Nov 15 14:03:56 2007 +0000
+++ b/data/fileio/WavFileReader.cpp	Wed Feb 27 11:59:42 2008 +0000
@@ -111,6 +111,7 @@
 {
     if (count == 0) return;
     results.clear();
+    results.reserve(count * m_fileInfo.channels);
 
     QMutexLocker locker(&m_mutex);