hints for the code analysis.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7655 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-02-17 05:57:07 +00:00
parent bd458e9913
commit 32e267ee53
2 changed files with 4 additions and 1 deletions

View File

@ -303,7 +303,9 @@ void lpc10_voicing(lpc10_encode_state_t *s,
s->voice[1][1] = s->voice[2][1];
s->maxmin = *maxamd / max(*minamd, 1.0f);
}
/* Calculate voicing parameters twice per frame */
vc_assert(lpbuf);
vc_assert(inbuf);
/* Calculate voicing parameters twice per frame */
vparms(vwin,
&inbuf[inbuf_offset],
&lpbuf[lpbuf_offset],

View File

@ -55,6 +55,7 @@ typedef int (span_tx_handler_t)(void *s, int16_t amp[], int max_len);
#define TRUE (!FALSE)
#endif
#include <assert.h>
#if (_MSC_VER >= 1400) // VC8+
#define vc_assert(expr) assert(expr);__analysis_assume( expr )
#else