# HG changeset patch # User cannam # Date 1178713761 0 # Node ID 066911b493d586eaeec2766fdfdd809b504bda43 # Parent 77555013f0b8ed25a5860edf4799337f736049a6 * Avoid crash in bark coefficients feature diff -r 77555013f0b8 -r 066911b493d5 plugins/XTractPlugin.cpp --- 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,