Mercurial > hg > vamp-plugin-sdk
comparison vamp-sdk/PluginAdapter.cpp @ 189:5ce2c3f79a45
* Fix horrible memory access error
author | cannam |
---|---|
date | Wed, 17 Sep 2008 11:00:51 +0000 |
parents | 006a775133b1 |
children | d4fbd4e6fdbf |
comparison
equal
deleted
inserted
replaced
188:5a6446a2346a | 189:5ce2c3f79a45 |
---|---|
837 while (m_fsizes[plugin][n] < sz) { | 837 while (m_fsizes[plugin][n] < sz) { |
838 m_fs[plugin][n].features[m_fsizes[plugin][n]].v1.hasTimestamp = 0; | 838 m_fs[plugin][n].features[m_fsizes[plugin][n]].v1.hasTimestamp = 0; |
839 m_fs[plugin][n].features[m_fsizes[plugin][n]].v1.valueCount = 0; | 839 m_fs[plugin][n].features[m_fsizes[plugin][n]].v1.valueCount = 0; |
840 m_fs[plugin][n].features[m_fsizes[plugin][n]].v1.values = 0; | 840 m_fs[plugin][n].features[m_fsizes[plugin][n]].v1.values = 0; |
841 m_fs[plugin][n].features[m_fsizes[plugin][n]].v1.label = 0; | 841 m_fs[plugin][n].features[m_fsizes[plugin][n]].v1.label = 0; |
842 m_fs[plugin][n].features[m_fsizes[plugin][n + sz]].v2.hasDuration = 0; | 842 m_fs[plugin][n].features[m_fsizes[plugin][n] + sz].v2.hasDuration = 0; |
843 m_fvsizes[plugin][n].push_back(0); | 843 m_fvsizes[plugin][n].push_back(0); |
844 m_fsizes[plugin][n]++; | 844 m_fsizes[plugin][n]++; |
845 } | 845 } |
846 } | 846 } |
847 | 847 |