[asterisk-commits] file: branch 1.4 r82265 - in /branches/1.4/codecs/gsm/src: long_term.c lpc.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 11 16:41:49 CDT 2007
Author: file
Date: Tue Sep 11 16:41:49 2007
New Revision: 82265
URL: http://svn.digium.com/view/asterisk?view=rev&rev=82265
Log:
(closes issue #10679)
Reported by: andrew
Build under dev mode when K6OPTS is enabled.
Modified:
branches/1.4/codecs/gsm/src/long_term.c
branches/1.4/codecs/gsm/src/lpc.c
Modified: branches/1.4/codecs/gsm/src/long_term.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/codecs/gsm/src/long_term.c?view=diff&rev=82265&r1=82264&r2=82265
==============================================================================
--- branches/1.4/codecs/gsm/src/long_term.c (original)
+++ branches/1.4/codecs/gsm/src/long_term.c Tue Sep 11 16:41:49 2007
@@ -162,7 +162,10 @@
word * Nc_out /* OUT */
)
{
- register int k, lambda;
+ register int k;
+#ifndef K6OPT
+ register int lambda;
+#endif
word Nc, bc;
word wt[40];
Modified: branches/1.4/codecs/gsm/src/lpc.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/codecs/gsm/src/lpc.c?view=diff&rev=82265&r1=82264&r2=82265
==============================================================================
--- branches/1.4/codecs/gsm/src/lpc.c (original)
+++ branches/1.4/codecs/gsm/src/lpc.c Tue Sep 11 16:41:49 2007
@@ -35,9 +35,12 @@
* be scaled in order to avoid an overflow situation.
*/
{
+#ifndef K6OPT
register int k, i;
-
- word temp, smax, scalauto;
+ word temp;
+#endif
+
+ word smax, scalauto;
#ifdef USE_FLOAT_MUL
float float_s[160];
More information about the asterisk-commits
mailing list