Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2017-02-14 09:32:19 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2017-02-14 09:32:19 +0300
commitcfc8e300385bb8b5913763c0f559713c5d99c98d (patch)
tree698d8dedc08559ea94b52a363a77339494e872ad
parent468327d726b68d92be68a3984ed5ab586bdf5ad3 (diff)
Rename y0/y1 to out0/out1 to avoid name clash with the Bessel functions
-rw-r--r--src/opus_encoder.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/opus_encoder.c b/src/opus_encoder.c
index 11558e87..ddeaf05d 100644
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -417,7 +417,7 @@ static void dc_reject(const opus_val16 *in, opus_int32 cutoff_Hz, opus_val16 *ou
m3 = hp_mem[3];
for (i=0;i<len;i++)
{
- opus_val32 x0, x1, tmp0, tmp1, y0, y1;
+ opus_val32 x0, x1, tmp0, tmp1, out0, out1;
x0 = in[2*i+0];
x1 = in[2*i+1];
/* First stage */
@@ -426,12 +426,12 @@ static void dc_reject(const opus_val16 *in, opus_int32 cutoff_Hz, opus_val16 *ou
m0 = coef*x0 + VERY_SMALL + coef2*m0;
m2 = coef*x1 + VERY_SMALL + coef2*m2;
/* Second stage */
- y0 = tmp0 - m1;
- y1 = tmp1 - m3;
+ out0 = tmp0 - m1;
+ out1 = tmp1 - m3;
m1 = coef*tmp0 + VERY_SMALL + coef2*m1;
m3 = coef*tmp1 + VERY_SMALL + coef2*m3;
- out[2*i+0] = y0;
- out[2*i+1] = y1;
+ out[2*i+0] = out0;
+ out[2*i+1] = out1;
}
hp_mem[0] = m0;
hp_mem[1] = m1;