aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcodecs/ilbc/iCBSearch.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/codecs/ilbc/iCBSearch.c b/codecs/ilbc/iCBSearch.c
index f6ddaea89..5ec4e66ce 100755
--- a/codecs/ilbc/iCBSearch.c
+++ b/codecs/ilbc/iCBSearch.c
@@ -117,9 +117,8 @@ void iCBSearch(
*ppe=0.0;
pp=buf+LPC_FILTERORDER+lMem-lTarget;
for (j=0; j<lTarget; j++) {
- // XXXXXX is this the coder's intent?
- //*ppe+=(*pp)*(*pp++);
- *ppe+=(pp[0])*(pp[1]);
+ *ppe+=(*pp)*(*pp);
+ pp++;
}
if(*ppe>0.0) {
@@ -297,9 +296,8 @@ void iCBSearch(
pp=cbvectors+lMem-lTarget;
for (j=0; j<lTarget; j++) {
- // XXXXXX is this the coder's intent?
- //*ppe+=(*pp)*(*pp++);
- *ppe+=(pp[0])*(pp[1]);
+ *ppe+=(*pp)*(*pp);
+ pp++;
}
ppi = cbvectors + lMem - 1 - lTarget;