diff options
author | Nils Wallménius <nils@rockbox.org> | 2012-11-13 02:05:28 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-11-13 06:23:20 +0400 |
commit | 4357e9390d626335c74d37f01196f94e8ec28181 (patch) | |
tree | 3c9fede93ea3df7d3b4bbdeac18a2ac720f1e0f3 | |
parent | 1a6ae384ef04b6304e0c731e924f7b646ea08d47 (diff) |
Follow up to commit 8b906c102b37ce74571898c8879c01b2a9088fb3
Remove two now redundant zeroing loops
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
-rw-r--r-- | celt/celt_decoder.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/celt/celt_decoder.c b/celt/celt_decoder.c index 9646b612..336a337c 100644 --- a/celt/celt_decoder.c +++ b/celt/celt_decoder.c @@ -394,10 +394,6 @@ static void celt_decode_lost(CELTDecoder * OPUS_RESTRICT st, opus_val16 * OPUS_R denormalise_bands(mode, X, freq, bandE, st->start, mode->effEBands, C, 1<<LM); - c=0; do - for (i=0;i<eBands[st->start]<<LM;i++) - freq[c*N+i] = 0; - while (++c<C); c=0; do { int bound = eBands[effEnd]<<LM; if (st->downsample!=1) @@ -852,10 +848,6 @@ int celt_decode_with_ec(CELTDecoder * OPUS_RESTRICT st, const unsigned char *dat OPUS_MOVE(decode_mem[c], decode_mem[c]+N, DECODE_BUFFER_SIZE-N+overlap); } while (++c<CC); - c=0; do - for (i=0;i<M*eBands[st->start];i++) - freq[c*N+i] = 0; - while (++c<C); c=0; do { int bound = M*eBands[effEnd]; if (st->downsample!=1) |