summaryrefslogtreecommitdiff
path: root/codecs/ilbc/iLBC_decode.c
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/ilbc/iLBC_decode.c
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/ilbc/iLBC_decode.c')
-rw-r--r--codecs/ilbc/iLBC_decode.c2
1 files changed, 2 insertions, 0 deletions
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);