diff data/fileio/WavFileReader.cpp @ 383:94fc0591ea43 1.2-stable

* merge from trunk (1.2 ended up being tracked from trunk, but we may want this branch for fixes later)
author Chris Cannam
date Wed, 27 Feb 2008 10:32:45 +0000
parents c324d410b096
children ecef2f1bec18
line wrap: on
line diff
--- a/data/fileio/WavFileReader.cpp	Fri Nov 30 17:36:14 2007 +0000
+++ b/data/fileio/WavFileReader.cpp	Wed Feb 27 10:32:45 2008 +0000
@@ -111,6 +111,7 @@
 {
     if (count == 0) return;
     results.clear();
+    results.reserve(count * m_fileInfo.channels);
 
     QMutexLocker locker(&m_mutex);