Mercurial > hg > vamp-libxtract-plugins
changeset 7:066911b493d5 0.4.2.20071019 vamp-libxtract-plugins-0.4.2.20071019
* Avoid crash in bark coefficients feature
author | cannam |
---|---|
date | Wed, 09 May 2007 12:29:21 +0000 |
parents | 77555013f0b8 |
children | 84d41c790d4f |
files | plugins/XTractPlugin.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/XTractPlugin.cpp Mon Apr 23 14:57:00 2007 +0000 +++ b/plugins/XTractPlugin.cpp Wed May 09 12:29:21 2007 +0000 @@ -166,7 +166,9 @@ } } else if (donor == XTRACT_BARK_COEFFICIENTS || + donor == XTRACT_INIT_BARK || data_format == XTRACT_BARK_COEFFS) { + m_barkBandLimits = new int[XTRACT_BARK_BANDS]; /*int error = *(int)*/xtract_init_bark(m_blockSize, m_inputSampleRate,