]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
hints for the code analysis.
authorMichael Jerris <mike@jerris.com>
Sun, 17 Feb 2008 05:38:28 +0000 (05:38 +0000)
committerMichael Jerris <mike@jerris.com>
Sun, 17 Feb 2008 05:38:28 +0000 (05:38 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7654 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/voipcodecs/src/lpc10_voicing.c

index 55df585210fad997c8898c96368eb4f0bf9ffa92..d9127479a45005ddc40cafeffa514525f16c07ea 100644 (file)
@@ -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)
     {