Module: sems
Branch: master
Commit: ede09b074551578563dc0bbfa9d092ab298cc036
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=ede09b074551578563dc0bbfa9d092ab298cc036

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Tue Aug  7 15:13:14 2012 +0200

ilbc: removed compiler warnings (unused assignments)

---

 core/plug-in/ilbc/iLBC_rfc3951/LPCencode.c   |    4 ++--
 core/plug-in/ilbc/iLBC_rfc3951/iLBC_decode.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/plug-in/ilbc/iLBC_rfc3951/LPCencode.c 
b/core/plug-in/ilbc/iLBC_rfc3951/LPCencode.c
index 19695c0..b04d89b 100644
--- a/core/plug-in/ilbc/iLBC_rfc3951/LPCencode.c
+++ b/core/plug-in/ilbc/iLBC_rfc3951/LPCencode.c
@@ -224,7 +224,7 @@
    ){
        float lsf[LPC_FILTERORDER * LPC_N_MAX];
        float lsfdeq[LPC_FILTERORDER * LPC_N_MAX];
-       int change=0;
+       /*int change=0;*/
 
        SimpleAnalysis(lsf, data, iLBCenc_inst);
        SimplelsfQ(lsfdeq, lsf_index, lsf, iLBCenc_inst->lpc_n);
@@ -233,7 +233,7 @@
 
 
 
-       change=LSF_check(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n);
+       /*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/core/plug-in/ilbc/iLBC_rfc3951/iLBC_decode.c 
b/core/plug-in/ilbc/iLBC_rfc3951/iLBC_decode.c
index ae62bf4..4fcdea3 100644
--- a/core/plug-in/ilbc/iLBC_rfc3951/iLBC_decode.c
+++ b/core/plug-in/ilbc/iLBC_rfc3951/iLBC_decode.c
@@ -339,7 +339,7 @@
        int lag, ilag;
        float cc, maxcc;
        int idxVec[STATE_LEN];
-       int check;
+       /*       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 +500,7 @@
                /* decode the lsf */
 
                SimplelsfDEQ(lsfdeq, lsf_i, iLBCdec_inst->lpc_n);
-               check=LSF_check(lsfdeq, LPC_FILTERORDER,
+               /*check=*/LSF_check(lsfdeq, LPC_FILTERORDER,
                    iLBCdec_inst->lpc_n);
                DecoderInterpolateLSF(syntdenum, weightdenum,
                    lsfdeq, LPC_FILTERORDER, iLBCdec_inst);

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to