diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-04-09 15:17:43 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-04-09 15:17:58 +0200 |
commit | dd8655aac93dacc24e5e1c7778209ef8b610640b (patch) | |
tree | c94cba5faa001e348a52b2e25f6d0b6590ade778 /thirdparty/opus | |
parent | fa2d5b91dc390a11262859e5309351ba58842901 (diff) |
opus: Update to upstream version 1.1.4
Diffstat (limited to 'thirdparty/opus')
-rw-r--r-- | thirdparty/opus/silk/NLSF_stabilize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/opus/silk/NLSF_stabilize.c b/thirdparty/opus/silk/NLSF_stabilize.c index 1fa1ea379b..8f3426b91e 100644 --- a/thirdparty/opus/silk/NLSF_stabilize.c +++ b/thirdparty/opus/silk/NLSF_stabilize.c @@ -130,7 +130,7 @@ void silk_NLSF_stabilize( /* Keep delta_min distance between the NLSFs */ for( i = 1; i < L; i++ ) - NLSF_Q15[i] = silk_max_int( NLSF_Q15[i], NLSF_Q15[i-1] + NDeltaMin_Q15[i] ); + NLSF_Q15[i] = silk_max_int( NLSF_Q15[i], silk_ADD_SAT16( NLSF_Q15[i-1], NDeltaMin_Q15[i] ) ); /* Last NLSF should be no higher than 1 - NDeltaMin[L] */ NLSF_Q15[L-1] = silk_min_int( NLSF_Q15[L-1], (1<<15) - NDeltaMin_Q15[L] ); |