Cleaning up leftovers of "freq" in celt_decode_with_ec()

This commit is contained in:
Jean-Marc Valin 2014-01-06 17:45:57 -05:00
parent 4d07b1357e
commit ad8371d172

View file

@ -720,7 +720,6 @@ int celt_decode_with_ec(CELTDecoder * OPUS_RESTRICT st, const unsigned char *dat
int spread_decision; int spread_decision;
opus_int32 bits; opus_int32 bits;
ec_dec _dec; ec_dec _dec;
VARDECL(celt_sig, freq);
#ifdef SMALL_FOOTPRINT #ifdef SMALL_FOOTPRINT
celt_norm *X; celt_norm *X;
#else #else
@ -1055,7 +1054,6 @@ int celt_decode_with_ec(CELTDecoder * OPUS_RESTRICT st, const unsigned char *dat
} while (++c<2); } while (++c<2);
st->rng = dec->rng; st->rng = dec->rng;
/* We reuse freq[] as scratch space for the de-emphasis */
deemphasis(out_syn, pcm, N, CC, st->downsample, mode->preemph, st->preemph_memD, accum); deemphasis(out_syn, pcm, N, CC, st->downsample, mode->preemph, st->preemph_memD, accum);
st->loss_count = 0; st->loss_count = 0;
RESTORE_STACK; RESTORE_STACK;