[asterisk-commits] kmoore: trunk r351819 - in /trunk: ./ codecs/ilbc/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 20 10:52:23 CST 2012
Author: kmoore
Date: Fri Jan 20 10:52:20 2012
New Revision: 351819
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=351819
Log:
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
Modified:
trunk/ (props changed)
trunk/codecs/ilbc/LPCencode.c
trunk/codecs/ilbc/iLBC_decode.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.
Modified: trunk/codecs/ilbc/LPCencode.c
URL: http://svnview.digium.com/svn/asterisk/trunk/codecs/ilbc/LPCencode.c?view=diff&rev=351819&r1=351818&r2=351819
==============================================================================
--- trunk/codecs/ilbc/LPCencode.c (original)
+++ trunk/codecs/ilbc/LPCencode.c Fri Jan 20 10:52:20 2012
@@ -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);
Modified: trunk/codecs/ilbc/iLBC_decode.c
URL: http://svnview.digium.com/svn/asterisk/trunk/codecs/ilbc/iLBC_decode.c?view=diff&rev=351819&r1=351818&r2=351819
==============================================================================
--- trunk/codecs/ilbc/iLBC_decode.c (original)
+++ trunk/codecs/ilbc/iLBC_decode.c Fri Jan 20 10:52:20 2012
@@ -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);
More information about the asterisk-commits
mailing list