mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user