diff options
author | Kinsey Moore <kmoore@digium.com> | 2012-01-20 16:33:26 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2012-01-20 16:33:26 +0000 |
commit | 75243988d51c9a7c7cb25853c51333df09a4422e (patch) | |
tree | 51fc21b32aeef1d834aa4a3cad00e6bda156ca71 /codecs | |
parent | 1a6960099bfcdaf82978553e18b5800a7436ffd8 (diff) |
Remove more set, but unused variables in the ilbc codec
GCC 4.6.3 caught these in dev mode as well.
........
Merged revisions 351816 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@351817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs')
-rw-r--r-- | codecs/ilbc/LPCencode.c | 2 | ||||
-rw-r--r-- | codecs/ilbc/iLBC_decode.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/codecs/ilbc/LPCencode.c b/codecs/ilbc/LPCencode.c index 19695c0fa..8e83dab78 100644 --- a/codecs/ilbc/LPCencode.c +++ b/codecs/ilbc/LPCencode.c @@ -224,7 +224,6 @@ ){ float lsf[LPC_FILTERORDER * LPC_N_MAX]; float lsfdeq[LPC_FILTERORDER * LPC_N_MAX]; - int change=0; SimpleAnalysis(lsf, data, iLBCenc_inst); SimplelsfQ(lsfdeq, lsf_index, lsf, iLBCenc_inst->lpc_n); @@ -233,7 +232,6 @@ - change=LSF_check(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n); SimpleInterpolateLSF(syntdenum, weightdenum, lsf, lsfdeq, iLBCenc_inst->lsfold, iLBCenc_inst->lsfdeqold, LPC_FILTERORDER, iLBCenc_inst); diff --git a/codecs/ilbc/iLBC_decode.c b/codecs/ilbc/iLBC_decode.c index ae62bf440..d84ccb8df 100644 --- a/codecs/ilbc/iLBC_decode.c +++ b/codecs/ilbc/iLBC_decode.c @@ -339,7 +339,6 @@ int lag, ilag; float cc, maxcc; int idxVec[STATE_LEN]; - int check; int gain_index[NASUB_MAX*CB_NSTAGES], extra_gain_index[CB_NSTAGES]; int cb_index[CB_NSTAGES*NASUB_MAX], extra_cb_index[CB_NSTAGES]; @@ -500,8 +499,6 @@ /* decode the lsf */ SimplelsfDEQ(lsfdeq, lsf_i, iLBCdec_inst->lpc_n); - check=LSF_check(lsfdeq, LPC_FILTERORDER, - iLBCdec_inst->lpc_n); DecoderInterpolateLSF(syntdenum, weightdenum, lsfdeq, LPC_FILTERORDER, iLBCdec_inst); |