diff options
author | Benny Prijono <bennylp@teluu.com> | 2014-02-04 10:13:56 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2014-02-04 10:13:56 +0000 |
commit | 0c03f9d1a434ca591f40980eff388daff653ce0d (patch) | |
tree | 00bd27f374d46c7825a372e7892de140c1a9e5e4 /third_party/ilbc | |
parent | 1342a94d5cbd8820f83ef59adcb18d14f566a3de (diff) |
Misc (re #1630): Fixing warnings about variable set but not used with recent gcc
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4728 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/ilbc')
-rw-r--r-- | third_party/ilbc/LPCencode.c | 3 | ||||
-rw-r--r-- | third_party/ilbc/helpfun.c | 4 | ||||
-rw-r--r-- | third_party/ilbc/iLBC_decode.c | 3 |
3 files changed, 4 insertions, 6 deletions
diff --git a/third_party/ilbc/LPCencode.c b/third_party/ilbc/LPCencode.c index 19695c0f..eed1f893 100644 --- a/third_party/ilbc/LPCencode.c +++ b/third_party/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,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); diff --git a/third_party/ilbc/helpfun.c b/third_party/ilbc/helpfun.c index 1aba6578..2406c131 100644 --- a/third_party/ilbc/helpfun.c +++ b/third_party/ilbc/helpfun.c @@ -277,7 +277,7 @@ table */ ){ int k,n,m, Nit=2, change=0,pos; - float tmp; + //float tmp; static float eps=(float)0.039; /* 50 Hz */ static float eps2=(float)0.0195; static float maxlsf=(float)3.14; /* 4000 Hz */ @@ -293,7 +293,7 @@ if ((lsf[pos+1]-lsf[pos])<eps) { if (lsf[pos+1]<lsf[pos]) { - tmp=lsf[pos+1]; + //tmp=lsf[pos+1]; lsf[pos+1]= lsf[pos]+eps2; lsf[pos]= lsf[pos+1]-eps2; } else { diff --git a/third_party/ilbc/iLBC_decode.c b/third_party/ilbc/iLBC_decode.c index 33d3f740..17395d3a 100644 --- a/third_party/ilbc/iLBC_decode.c +++ b/third_party/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,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); |