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:
authorGregory Maxwell <greg@xiph.org>2011-10-04 05:07:39 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2011-10-04 05:38:21 +0400
commit5d5875a93a5c15566c6dfbadf7180858705af517 (patch)
tree8f6c8a9f4d430a5291d8efc38e2c395cb8f65d5f /silk/NLSF2A.c
parent4a7c9859cbea913e2d024d523cc10f2bd955d540 (diff)
Add the noreturn attribute on the assert functions to aid static analysis, improve test_repacketizer error handling, and silence 19 clang static analysis errors with additional assertions.
Diffstat (limited to 'silk/NLSF2A.c')
-rw-r--r--silk/NLSF2A.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/silk/NLSF2A.c b/silk/NLSF2A.c
index 87b87498..eca855b7 100644
--- a/silk/NLSF2A.c
+++ b/silk/NLSF2A.c
@@ -77,6 +77,7 @@ void silk_NLSF2A(
opus_int32 maxabs, absval, idx=0, sc_Q16, invGain_Q30;
silk_assert( LSF_COS_TAB_SZ_FIX == 128 );
+ silk_assert( d==6||d==8||d==10||d==12||d==14||d==16 );
/* convert LSFs to 2*cos(LSF), using piecewise linear curve from table */
for( k = 0; k < d; k++ ) {