shithub: opus

Download patch

ref: 1e9fb6291c03ada2508d87740c91d833073b3a34
parent: 64805fd24682223dd4c5778147aab81e03a8b529
author: Jean-Marc Valin <[email protected]>
date: Mon Feb 14 08:50:20 EST 2011

Fixes the inversion of SPREAD_LIGHT and SPREAD_AGGRESSIVE

Change the bit-stream (without causing desync)

--- a/libcelt/vq.c
+++ b/libcelt/vq.c
@@ -68,7 +68,7 @@
 
 static void exp_rotation(celt_norm *X, int len, int dir, int stride, int K, int spread)
 {
-   static const int SPREAD_FACTOR[3]={5,10,15};
+   static const int SPREAD_FACTOR[3]={15,10,5};
    int i;
    celt_word16 c, s;
    celt_word16 gain, theta;