Commit b8a6b312 authored by Gregory Maxwell's avatar Gregory Maxwell Committed by Jean-Marc Valin
Browse files

This removes some pointless/dead code.

parent 23340e22
......@@ -1139,7 +1139,6 @@ static unsigned quant_band(int encode, const CELTMode *m, int i, celt_norm *X, c
haar1(X, N0>>k, 1<<k);
}
B<<=recombine;
N_B>>=recombine;
/* Scale output for later folding */
if (lowband_out)
......
......@@ -1009,7 +1009,6 @@ int celt_encode_with_ec_float(CELTEncoder * restrict st, const celt_sig * pcm, i
VARDECL(celt_sig, _pre);
celt_sig *pre[2];
SAVE_STACK;
c = 0;
ALLOC(_pre, CC*(N+COMBFILTER_MAXPERIOD), celt_sig);
pre[0] = _pre;
......
......@@ -250,7 +250,7 @@ static const int second_check[16] = {0, 0, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 5, 2, 3
celt_word16 remove_doubling(celt_word16 *x, int maxperiod, int minperiod,
int N, int *_T0, int prev_period, celt_word16 prev_gain)
{
int k, i, T, T0, k0;
int k, i, T, T0;
celt_word16 g, g0;
celt_word16 pg;
celt_word32 xy,xx,yy;
......@@ -291,7 +291,6 @@ celt_word16 remove_doubling(celt_word16 *x, int maxperiod, int minperiod,
#else
g = g0 = xy/sqrt(1+xx*yy);
#endif
k0 = 1;
/* Look for any pitch at T/k */
for (k=2;k<=15;k++)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment