[asterisk-commits] kmoore: branch 1.8 r351858 - /branches/1.8/codecs/ilbc/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 20 13:19:14 CST 2012
Author: kmoore
Date: Fri Jan 20 13:19:11 2012
New Revision: 351858
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=351858
Log:
Allow ilbc code to build under dev mode
GCC 4.6.3 found some set/unused variables in the ILBC code.
Modified:
branches/1.8/codecs/ilbc/LPCencode.c
branches/1.8/codecs/ilbc/iLBC_decode.c
Modified: branches/1.8/codecs/ilbc/LPCencode.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/codecs/ilbc/LPCencode.c?view=diff&rev=351858&r1=351857&r2=351858
==============================================================================
--- branches/1.8/codecs/ilbc/LPCencode.c (original)
+++ branches/1.8/codecs/ilbc/LPCencode.c Fri Jan 20 13:19:11 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,7 @@
- change=LSF_check(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n);
+ 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: branches/1.8/codecs/ilbc/iLBC_decode.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/codecs/ilbc/iLBC_decode.c?view=diff&rev=351858&r1=351857&r2=351858
==============================================================================
--- branches/1.8/codecs/ilbc/iLBC_decode.c (original)
+++ branches/1.8/codecs/ilbc/iLBC_decode.c Fri Jan 20 13:19:11 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,7 +499,7 @@
/* decode the lsf */
SimplelsfDEQ(lsfdeq, lsf_i, iLBCdec_inst->lpc_n);
- check=LSF_check(lsfdeq, LPC_FILTERORDER,
+ LSF_check(lsfdeq, LPC_FILTERORDER,
iLBCdec_inst->lpc_n);
DecoderInterpolateLSF(syntdenum, weightdenum,
lsfdeq, LPC_FILTERORDER, iLBCdec_inst);
More information about the asterisk-commits
mailing list