summaryrefslogtreecommitdiff
path: root/codecs
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2012-01-20 16:52:20 +0000
committerKinsey Moore <kmoore@digium.com>2012-01-20 16:52:20 +0000
commitd61920b6d9623a16226bbdfabafaa6e5e13b7946 (patch)
tree5f305f5b7f02af4ac4994cf5339fb36e71b6b860 /codecs
parent75243988d51c9a7c7cb25853c51333df09a4422e (diff)
Restore LSF_check function calls from set/unused variable removal
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
Diffstat (limited to 'codecs')
-rw-r--r--codecs/ilbc/LPCencode.c2
-rw-r--r--codecs/ilbc/iLBC_decode.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/codecs/ilbc/LPCencode.c b/codecs/ilbc/LPCencode.c
index 8e83dab78..09c690958 100644
--- a/codecs/ilbc/LPCencode.c
+++ b/codecs/ilbc/LPCencode.c
@@ -231,7 +231,7 @@
-
+ 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/codecs/ilbc/iLBC_decode.c b/codecs/ilbc/iLBC_decode.c
index d84ccb8df..978d480ec 100644
--- a/codecs/ilbc/iLBC_decode.c
+++ b/codecs/ilbc/iLBC_decode.c
@@ -499,6 +499,8 @@
/* 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);