From fbd82eb8f48444d14145013dbc473b37b6f59695 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Thu, 6 May 2010 20:15:27 -0400 Subject: [PATCH] Oops! Fixed the fixed-point build --- libcelt/celt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcelt/celt.c b/libcelt/celt.c index 56a4a866..8a9aad74 100644 --- a/libcelt/celt.c +++ b/libcelt/celt.c @@ -934,7 +934,7 @@ int celt_encode_float(CELTEncoder * restrict st, const float * pcm, float * opti return CELT_BAD_ARG; C = CHANNELS(st->channels); - N = st->block_size; + N = st->mode->nbShortMdcts*st->mode->shortMdctSize; ALLOC(in, C*N, celt_int16); for (j=0;jchannels); - N = st->block_size; + N = st->mode->nbShortMdcts*st->mode->shortMdctSize; ALLOC(out, C*N, celt_int16); ret=celt_decode(st, data, len, out);