diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-02-08 00:31:30 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-02-08 00:31:30 +0400 |
commit | 6044907c820f40adc6be8c3d342d49c9956cf233 (patch) | |
tree | bcb80d3d9d73985ca1c0afa227cb604a7a6c3642 /silk/fixed | |
parent | e51a3f33cf5a387eea3dff09d0ca04cf54d59e49 (diff) |
Fixes a SILK fixed-point encoder issue reported by Cliff Parris <cliff@espico.com>
Diffstat (limited to 'silk/fixed')
-rw-r--r-- | silk/fixed/burg_modified_FIX.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/fixed/burg_modified_FIX.c b/silk/fixed/burg_modified_FIX.c index 26a66b1c..c729ef82 100644 --- a/silk/fixed/burg_modified_FIX.c +++ b/silk/fixed/burg_modified_FIX.c @@ -263,7 +263,7 @@ void silk_burg_modified( tmp1 = silk_SMLAWW( tmp1, Atmp1, Atmp1 ); /* Q16 */ A_Q16[ k ] = -Atmp1; } - *res_nrg = silk_SMLAWW( nrg, silk_SMMUL( FIND_LPC_COND_FAC, C0 ), -tmp1 ); /* Q( -rshifts ) */ + *res_nrg = silk_SMLAWW( nrg, silk_SMMUL( SILK_FIX_CONST( FIND_LPC_COND_FAC, 32 ), C0 ), -tmp1 );/* Q( -rshifts ) */ *res_nrg_Q = -rshifts; } } |