mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
Allow ilbc code to build under dev mode
GCC 4.6.3 found some set/unused variables in the ILBC code. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@351858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -224,7 +224,6 @@
|
|||||||
){
|
){
|
||||||
float lsf[LPC_FILTERORDER * LPC_N_MAX];
|
float lsf[LPC_FILTERORDER * LPC_N_MAX];
|
||||||
float lsfdeq[LPC_FILTERORDER * LPC_N_MAX];
|
float lsfdeq[LPC_FILTERORDER * LPC_N_MAX];
|
||||||
int change=0;
|
|
||||||
|
|
||||||
SimpleAnalysis(lsf, data, iLBCenc_inst);
|
SimpleAnalysis(lsf, data, iLBCenc_inst);
|
||||||
SimplelsfQ(lsfdeq, lsf_index, lsf, iLBCenc_inst->lpc_n);
|
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,
|
SimpleInterpolateLSF(syntdenum, weightdenum,
|
||||||
lsf, lsfdeq, iLBCenc_inst->lsfold,
|
lsf, lsfdeq, iLBCenc_inst->lsfold,
|
||||||
iLBCenc_inst->lsfdeqold, LPC_FILTERORDER, iLBCenc_inst);
|
iLBCenc_inst->lsfdeqold, LPC_FILTERORDER, iLBCenc_inst);
|
||||||
|
|||||||
@@ -339,7 +339,6 @@
|
|||||||
int lag, ilag;
|
int lag, ilag;
|
||||||
float cc, maxcc;
|
float cc, maxcc;
|
||||||
int idxVec[STATE_LEN];
|
int idxVec[STATE_LEN];
|
||||||
int check;
|
|
||||||
int gain_index[NASUB_MAX*CB_NSTAGES],
|
int gain_index[NASUB_MAX*CB_NSTAGES],
|
||||||
extra_gain_index[CB_NSTAGES];
|
extra_gain_index[CB_NSTAGES];
|
||||||
int cb_index[CB_NSTAGES*NASUB_MAX], extra_cb_index[CB_NSTAGES];
|
int cb_index[CB_NSTAGES*NASUB_MAX], extra_cb_index[CB_NSTAGES];
|
||||||
@@ -500,7 +499,7 @@
|
|||||||
/* decode the lsf */
|
/* decode the lsf */
|
||||||
|
|
||||||
SimplelsfDEQ(lsfdeq, lsf_i, iLBCdec_inst->lpc_n);
|
SimplelsfDEQ(lsfdeq, lsf_i, iLBCdec_inst->lpc_n);
|
||||||
check=LSF_check(lsfdeq, LPC_FILTERORDER,
|
LSF_check(lsfdeq, LPC_FILTERORDER,
|
||||||
iLBCdec_inst->lpc_n);
|
iLBCdec_inst->lpc_n);
|
||||||
DecoderInterpolateLSF(syntdenum, weightdenum,
|
DecoderInterpolateLSF(syntdenum, weightdenum,
|
||||||
lsfdeq, LPC_FILTERORDER, iLBCdec_inst);
|
lsfdeq, LPC_FILTERORDER, iLBCdec_inst);
|
||||||
|
|||||||
Reference in New Issue
Block a user