aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/gsm
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-11 21:43:47 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-11 21:43:47 +0000
commite4953f8f1057f73b3e6b42a3ba87f40631eade99 (patch)
treea75b818389f11d6e54cad3f16ec9c96576b5a79a /codecs/gsm
parent56df002c4193e670c5544bb7d4268bbe76962ca7 (diff)
Merged revisions 82265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82265 | file | 2007-09-11 18:41:49 -0300 (Tue, 11 Sep 2007) | 4 lines (closes issue #10679) Reported by: andrew Build under dev mode when K6OPTS is enabled. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82266 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/gsm')
-rw-r--r--codecs/gsm/src/long_term.c5
-rw-r--r--codecs/gsm/src/lpc.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/codecs/gsm/src/long_term.c b/codecs/gsm/src/long_term.c
index 50594ffd7..83b6fdf85 100644
--- a/codecs/gsm/src/long_term.c
+++ b/codecs/gsm/src/long_term.c
@@ -162,7 +162,10 @@ static void Calculation_of_the_LTP_parameters P4((d,dp,bc_out,Nc_out),
word * Nc_out /* OUT */
)
{
- register int k, lambda;
+ register int k;
+#ifndef K6OPT
+ register int lambda;
+#endif
word Nc, bc;
word wt[40];
diff --git a/codecs/gsm/src/lpc.c b/codecs/gsm/src/lpc.c
index 49145f86e..744149e02 100644
--- a/codecs/gsm/src/lpc.c
+++ b/codecs/gsm/src/lpc.c
@@ -35,9 +35,12 @@ static void Autocorrelation P2((s, L_ACF),
* be scaled in order to avoid an overflow situation.
*/
{
+#ifndef K6OPT
register int k, i;
+ word temp;
+#endif
- word temp, smax, scalauto;
+ word smax, scalauto;
#ifdef USE_FLOAT_MUL
float float_s[160];