[xiph-commits] r12471 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Wed Feb 14 05:47:41 PST 2007
Author: jm
Date: 2007-02-14 05:47:38 -0800 (Wed, 14 Feb 2007)
New Revision: 12471
Modified:
trunk/speex/libspeex/resample.c
Log:
oops, fixed segfault
Modified: trunk/speex/libspeex/resample.c
===================================================================
--- trunk/speex/libspeex/resample.c 2007-02-14 08:59:01 UTC (rev 12470)
+++ trunk/speex/libspeex/resample.c 2007-02-14 13:47:38 UTC (rev 12471)
@@ -193,7 +193,7 @@
{192, 16, 0.968f, 0.968f, KAISER10}, /* Q9 */ /* 95.5% cutoff (~100 dB stop) 10 */
{256, 16, 0.975f, 0.975f, KAISER10}, /* Q10 */ /* 96.6% cutoff (~100 dB stop) 10 */
};
-
+/*8,24,40,56,80,104,128,160,200,256,320*/
static double compute_func(float x, struct FuncDef *func)
{
float y, frac;
@@ -553,7 +553,7 @@
st->started = 1;
/* Handle the case where we have samples left from a reduction in filter length */
- if (st->magic_samples)
+ if (st->magic_samples[channel_index])
{
int tmp_in_len;
int tmp_magic;
More information about the commits
mailing list