shithub: opus

Download patch

ref: 4ed7e48e1db6d6913b00091ead62ff3440ea675d
parent: 2fd3d0aa27ec8dd898242116516812d6ee99e3e3
author: Jean-Marc Valin <[email protected]>
date: Mon Feb 4 20:32:52 EST 2013

Fixes a hybrid stereo encoder issue

This was causing periodic glitches in the right channel in hybrid mode.

--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -486,7 +486,7 @@
        }
     }
     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]);
        }