From bd458e9913c4a19c1db6c271a677e0345240a040 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 17 Feb 2008 05:38:28 +0000 Subject: [PATCH] hints for the code analysis. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7654 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/voipcodecs/src/lpc10_voicing.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/voipcodecs/src/lpc10_voicing.c b/libs/voipcodecs/src/lpc10_voicing.c index 55df585210..d9127479a4 100644 --- a/libs/voipcodecs/src/lpc10_voicing.c +++ b/libs/voipcodecs/src/lpc10_voicing.c @@ -251,7 +251,11 @@ void lpc10_voicing(lpc10_encode_state_t *s, int32_t lbe; float snr2; - inbuf_offset = 0; +#if (_MSC_VER >= 1400) + __analysis_assume(half >=0 && half < 2); +#endif + + inbuf_offset = 0; lpbuf_offset = 0; if (inbuf) {