diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-02-05 10:32:52 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-02-05 10:32:52 +0400 |
commit | 4ed7e48e1db6d6913b00091ead62ff3440ea675d (patch) | |
tree | 8b22c011bbcbe5fd52c505a4a2621c47889b31b7 /src | |
parent | 2fd3d0aa27ec8dd898242116516812d6ee99e3e3 (diff) |
Fixes a hybrid stereo encoder issue
This was causing periodic glitches in the right channel in hybrid mode.
Diffstat (limited to 'src')
-rw-r--r-- | src/opus_encoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_encoder.c b/src/opus_encoder.c index be245bd9..ee78a6e9 100644 --- a/src/opus_encoder.c +++ b/src/opus_encoder.c @@ -486,7 +486,7 @@ static void gain_fade(const opus_val16 *in, opus_val16 *out, opus_val16 g1, opus } } c=0;do { - for (;i<frame_size;i++) + for (i=overlap;i<frame_size;i++) { out[i*channels+c] = MULT16_16_Q15(g2, in[i*channels+c]); } |