diff data/fileio/QuickTimeFileReader.cpp @ 441:288f45533041

* Add region model and layer; improve assignment of model types to feature extraction transforms with duration
author Chris Cannam
date Thu, 18 Sep 2008 16:08:14 +0000
parents be49bf95d4a5
children b4a8d8221eaf
line wrap: on
line diff
--- a/data/fileio/QuickTimeFileReader.cpp	Thu Sep 18 12:33:30 2008 +0000
+++ b/data/fileio/QuickTimeFileReader.cpp	Thu Sep 18 16:08:14 2008 +0000
@@ -203,6 +203,7 @@
 
     if (m_d->err) {
         m_error = QString("Error in QuickTime decoder property set: code %1").arg(m_d->err);
+        m_channelCount = 0;
         return;
     }
     m_d->buffer.mNumberBuffers = 1;