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>2016-07-22 22:14:34 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-22 22:57:01 +0300
commit5b9113010d3ec9b8dd4be420f72e5bf76e9a0a5d (patch)
tree5bcefd2a3f14343c62428e0a9dacef443ab2ec92
parented44e78caf9c472de690dcf72888f6bf1e445c87 (diff)
More headroom in fixed-point silk_burg_modified() to avoid an overflow
-rw-r--r--silk/fixed/burg_modified_FIX.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/fixed/burg_modified_FIX.c b/silk/fixed/burg_modified_FIX.c
index 17d0e099..80edbdfa 100644
--- a/silk/fixed/burg_modified_FIX.c
+++ b/silk/fixed/burg_modified_FIX.c
@@ -37,7 +37,7 @@ POSSIBILITY OF SUCH DAMAGE.
#define MAX_FRAME_SIZE 384 /* subfr_length * nb_subfr = ( 0.005 * 16000 + 16 ) * 4 = 384 */
#define QA 25
-#define N_BITS_HEAD_ROOM 2
+#define N_BITS_HEAD_ROOM 3
#define MIN_RSHIFTS -16
#define MAX_RSHIFTS (32 - QA)