summaryrefslogtreecommitdiff
path: root/third_party/ilbc/iCBSearch.c
diff options
context:
space:
mode:
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 */