[svn-commits] kmoore: trunk r351817 - in /trunk: ./ codecs/ilbc/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Jan 20 10:33:28 CST 2012
Author: kmoore
Date: Fri Jan 20 10:33:26 2012
New Revision: 351817
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=351817
Log:
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
Modified:
trunk/ (props changed)
trunk/codecs/ilbc/LPCencode.c
trunk/codecs/ilbc/iLBC_decode.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.
Modified: trunk/codecs/ilbc/LPCencode.c
URL: http://svnview.digium.com/svn/asterisk/trunk/codecs/ilbc/LPCencode.c?view=diff&rev=351817&r1=351816&r2=351817
==============================================================================
--- trunk/codecs/ilbc/LPCencode.c (original)
+++ trunk/codecs/ilbc/LPCencode.c Fri Jan 20 10:33:26 2012
@@ -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);
Modified: trunk/codecs/ilbc/iLBC_decode.c
URL: http://svnview.digium.com/svn/asterisk/trunk/codecs/ilbc/iLBC_decode.c?view=diff&rev=351817&r1=351816&r2=351817
==============================================================================
--- trunk/codecs/ilbc/iLBC_decode.c (original)
+++ trunk/codecs/ilbc/iLBC_decode.c Fri Jan 20 10:33:26 2012
@@ -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);
More information about the svn-commits
mailing list