[Asterisk-cvs] asterisk plc.c,1.1,1.2

markster at lists.digium.com markster at lists.digium.com
Thu Mar 17 16:42:52 CST 2005


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

Modified Files:
	plc.c 
Log Message:
Fix PLC for BSD


Index: plc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/plc.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- plc.c	17 Mar 2005 21:30:19 -0000	1.1
+++ plc.c	17 Mar 2005 22:38:10 -0000	1.2
@@ -33,6 +33,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
+#include <stdint.h>
 #include <limits.h>
 
 #include <asterisk/plc.h>
@@ -123,7 +124,6 @@
 int plc_rx(plc_state_t *s, int16_t amp[], int len)
 {
     int i;
-    int overlap_len;
     int pitch_overlap;
     float old_step;
     float new_step;
@@ -167,7 +167,6 @@
 
 int plc_fillin(plc_state_t *s, int16_t amp[], int len)
 {
-    int16_t tmp[PLC_PITCH_OVERLAP_MAX];
     int i;
     int pitch_overlap;
     float old_step;




More information about the svn-commits mailing list