[svn-commits] kmoore: branch 10 r351818 - /branches/10/codecs/ilbc/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jan 20 10:50:54 CST 2012


Author: kmoore
Date: Fri Jan 20 10:50:50 2012
New Revision: 351818

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=351818
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.

Modified:
    branches/10/codecs/ilbc/LPCencode.c
    branches/10/codecs/ilbc/iLBC_decode.c

Modified: branches/10/codecs/ilbc/LPCencode.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/codecs/ilbc/LPCencode.c?view=diff&rev=351818&r1=351817&r2=351818
==============================================================================
--- branches/10/codecs/ilbc/LPCencode.c (original)
+++ branches/10/codecs/ilbc/LPCencode.c Fri Jan 20 10:50:50 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: branches/10/codecs/ilbc/iLBC_decode.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/codecs/ilbc/iLBC_decode.c?view=diff&rev=351818&r1=351817&r2=351818
==============================================================================
--- branches/10/codecs/ilbc/iLBC_decode.c (original)
+++ branches/10/codecs/ilbc/iLBC_decode.c Fri Jan 20 10:50:50 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 svn-commits mailing list