git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7652
d0543943-73ff-0310-b7d9-
9358b9ac24b2
int16_t *Nc,
int16_t *bc)
{
- assert(d);
- assert(dp);
- assert(e);
- assert(dpp);
- assert(Nc);
- assert(bc);
+ vc_assert(d);
+ vc_assert(dp);
+ vc_assert(e);
+ vc_assert(dpp);
+ vc_assert(Nc);
+ vc_assert(bc);
*bc = evaluate_ltp_parameters(d, dp, Nc);
long_term_analysis_filtering(*bc, *Nc, dp, d, dpp, e);
samples to obtain the xMp[0..12] array. Table 4.6 is used to get
the mantissa of xmaxc (FAC[0..7]).
*/
- assert(mant >= 0 && mant <= 7);
+ vc_assert(mant >= 0 && mant <= 7);
temp1 = gsm_FAC[mant]; /* See 4.2-15 for mant */
temp2 = gsm_sub(6, exp); /* See 4.2-15 for exp */
#if !defined(TRUE)
#define TRUE (!FALSE)
#endif
+\r
+#if (_MSC_VER >= 1400) // VC8+\r
+#define vc_assert(expr) assert(expr);__analysis_assume( expr )\r
+#else\r
+#define vc_assert(expr) assert(expr)\r
+#endif\r
#if defined(__cplusplus)
/* C++ doesn't seem to have sane rounding functions/macros yet */