Displaying 2 results from an estimated 2 matches for "celt_encode_with_ec_float".
Did you mean:
celt_decode_with_ec_float
2011 May 09
1
V11.1 Problem
...pile error on V11.1 "declaration may not
appear after executable statement in block". This occurs in two places in
celt.c.
============================================================================
====================
#ifdef FIXED_POINT
#ifndef DISABLE_FLOAT_API
CELT_STATIC
int celt_encode_with_ec_float(CELTEncoder * restrict st, const float * pcm,
int frame_size, unsigned char *compressed, int nbCompressedBytes, ec_enc
*enc)
{
int j, ret, C, N;
VARDECL(celt_int16, in);
ALLOC_STACK;
SAVE_STACK;<<<<<<<<<<<<<<<ERROR Here "declaration...
2011 Mar 02
1
[PATCH] Fix CNG when effEBands is less than nbEBands.
...mes at 32kHz).
Thanks to John Ridges for the report.
---
libcelt/celt.c | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/libcelt/celt.c b/libcelt/celt.c
index 31d35f8..287c720 100644
--- a/libcelt/celt.c
+++ b/libcelt/celt.c
@@ -1137,6 +1137,7 @@ int celt_encode_with_ec_float(CELTEncoder * restrict st, const celt_sig * pcm, i
ec_enc_icdf(enc, prefilter_tapset, tapset_icdf, 2);
else
prefilter_tapset = 0;
+ fprintf(stderr,"pitch_index: %4i gain %0.2f tapset: %i\n",pitch_index,gain1,prefilter_tapset);
gain1 =...