Code cleanups (bug #66)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-09-19 01:20:23 +00:00
parent 320a52e5f5
commit b0500e1945
22 changed files with 139 additions and 85 deletions

View File

@@ -117,7 +117,9 @@ void iCBSearch(
*ppe=0.0;
pp=buf+LPC_FILTERORDER+lMem-lTarget;
for (j=0; j<lTarget; j++) {
*ppe+=(*pp)*(*pp++);
// XXXXXX is this the coder's intent?
//*ppe+=(*pp)*(*pp++);
*ppe+=(pp[0])*(pp[1]);
}
if(*ppe>0.0) {
@@ -295,7 +297,9 @@ void iCBSearch(
pp=cbvectors+lMem-lTarget;
for (j=0; j<lTarget; j++) {
*ppe+=(*pp)*(*pp++);
// XXXXXX is this the coder's intent?
//*ppe+=(*pp)*(*pp++);
*ppe+=(pp[0])*(pp[1]);
}
ppi = cbvectors + lMem - 1 - lTarget;