summaryrefslogtreecommitdiff
path: root/third_party/ilbc/iCBSearch.c
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2009-04-28 19:38:43 +0000
committerNanang Izzuddin <nanang@teluu.com>2009-04-28 19:38:43 +0000
commit7a0ee1a7208ddfe8575d1f1179f66fda2fa99339 (patch)
treea21e4846fd4d08aa06d2f5424cf52042d6d1d9e1 /third_party/ilbc/iCBSearch.c
parentcd00a93db99d842d8fcadb60aeb20ba47b4b4165 (diff)
Ticket #706: Merged branch vs-reorg2 into trunk:
- Currently supported platforms are: Win32, WM6 std & pro, WM5 SP & PPC, WM2003 SP & PPC. - Added libpjproject into solution, this is a single 'combo' library that bundles all PJSIP libraries. - Cleaned up most of compile warnings, note that warning level of libgsmcodec has been reduced from 4 to 3. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2660 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/ilbc/iCBSearch.c')
-rw-r--r--third_party/ilbc/iCBSearch.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/third_party/ilbc/iCBSearch.c b/third_party/ilbc/iCBSearch.c
index dfbc50b7..e0442bf0 100644
--- a/third_party/ilbc/iCBSearch.c
+++ b/third_party/ilbc/iCBSearch.c
@@ -234,22 +234,20 @@
/* unrestricted search */
- if (CB_RESRANGE == -1) {
+# if CB_RESRANGE == -1
+ //if (CB_RESRANGE == -1) {
sInd=0;
eInd=range-1;
sIndAug=20;
eIndAug=39;
- }
-
-
-
-
+ //}
+# else
/* restricted search around best index from first
codebook section */
- else {
+ //else {
/* Initialize search indices */
sIndAug=0;
eIndAug=0;
@@ -307,7 +305,10 @@
eInd = range;
}
}
- }
+
+ //}
+# endif /* CB_RESRANGE == -1 */
+
/* search of higher codebook section */