提交 32e267ee authored 作者: Michael Jerris's avatar Michael Jerris

hints for the code analysis.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7655 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 bd458e99
......@@ -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],
......
......@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论