Add the noreturn attribute on the assert functions to aid static analysis, improve...
[opus.git] / silk / float / schur_FLP.c
index 0f12369..59921bb 100644 (file)
@@ -41,6 +41,8 @@ silk_float silk_schur_FLP(           /* O    returns residual energy
     silk_float C[ SILK_MAX_ORDER_LPC + 1 ][ 2 ];
     silk_float Ctmp1, Ctmp2, rc_tmp;
 
+    silk_assert( order==6||order==8||order==10||order==12||order==14||order==16 );
+
     /* Copy correlations */
     for( k = 0; k < order+1; k++ ) {
         C[ k ][ 0 ] = C[ k ][ 1 ] = auto_corr[ k ];