summaryrefslogtreecommitdiff
path: root/silk/fixed
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-22 15:14:34 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-22 15:57:01 -0400
commit5b9113010d3ec9b8dd4be420f72e5bf76e9a0a5d (patch)
tree5bcefd2a3f14343c62428e0a9dacef443ab2ec92 /silk/fixed
parented44e78caf9c472de690dcf72888f6bf1e445c87 (diff)
downloadopus-5b9113010d3ec9b8dd4be420f72e5bf76e9a0a5d.tar.gz
More headroom in fixed-point silk_burg_modified() to avoid an overflow
Diffstat (limited to 'silk/fixed')
-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)