[Asterisk-cvs] asterisk/codecs/ilbc iCBSearch.c,1.3,1.4

markster at lists.digium.com markster at lists.digium.com
Fri Sep 26 21:17:41 CDT 2003


Update of /usr/cvsroot/asterisk/codecs/ilbc
In directory mongoose.digium.com:/tmp/cvs-serv19168/codecs/ilbc

Modified Files:
	iCBSearch.c 
Log Message:
Fix iLBC quality issue


Index: iCBSearch.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/ilbc/iCBSearch.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- iCBSearch.c	19 Sep 2003 01:20:22 -0000	1.3
+++ iCBSearch.c	27 Sep 2003 02:18:53 -0000	1.4
@@ -117,9 +117,8 @@
             *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 @@
  
             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; 




More information about the svn-commits mailing list