mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Fix iLBC quality issue
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user