Restore LSF_check function calls from set/unused variable removal
authorKinsey Moore <kmoore@digium.com>
Fri, 20 Jan 2012 16:52:20 +0000 (16:52 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 20 Jan 2012 16:52:20 +0000 (16:52 +0000)
These functions are not noops and modify the array that is passed in. Thanks
for the catch Richard.
........

Merged revisions 351818 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@351819 65c4cc65-6c06-0410-ace0-fbb531ad65f3

codecs/ilbc/LPCencode.c
codecs/ilbc/iLBC_decode.c

index 8e83dab..09c6909 100644 (file)
 
 
 
-
+       LSF_check(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n);
        SimpleInterpolateLSF(syntdenum, weightdenum,
            lsf, lsfdeq, iLBCenc_inst->lsfold,
            iLBCenc_inst->lsfdeqold, LPC_FILTERORDER, iLBCenc_inst);
index d84ccb8..978d480 100644 (file)
                /* decode the lsf */
 
                SimplelsfDEQ(lsfdeq, lsf_i, iLBCdec_inst->lpc_n);
+               LSF_check(lsfdeq, LPC_FILTERORDER,
+                   iLBCdec_inst->lpc_n);
                DecoderInterpolateLSF(syntdenum, weightdenum,
                    lsfdeq, LPC_FILTERORDER, iLBCdec_inst);