# HG changeset patch # User cannam # Date 1221649251 0 # Node ID 5ce2c3f79a4501446f5175326f29158b470c3abb # Parent 5a6446a2346a3982f7f2fe255eae8e22c72e7c38 * Fix horrible memory access error diff -r 5a6446a2346a -r 5ce2c3f79a45 vamp-sdk/PluginAdapter.cpp --- a/vamp-sdk/PluginAdapter.cpp Mon Sep 15 16:04:25 2008 +0000 +++ b/vamp-sdk/PluginAdapter.cpp Wed Sep 17 11:00:51 2008 +0000 @@ -839,7 +839,7 @@ m_fs[plugin][n].features[m_fsizes[plugin][n]].v1.valueCount = 0; m_fs[plugin][n].features[m_fsizes[plugin][n]].v1.values = 0; m_fs[plugin][n].features[m_fsizes[plugin][n]].v1.label = 0; - m_fs[plugin][n].features[m_fsizes[plugin][n + sz]].v2.hasDuration = 0; + m_fs[plugin][n].features[m_fsizes[plugin][n] + sz].v2.hasDuration = 0; m_fvsizes[plugin][n].push_back(0); m_fsizes[plugin][n]++; }