From: Mark Spencer Date: Thu, 17 Mar 2005 22:38:10 +0000 (+0000) Subject: Fix PLC for BSD X-Git-Tag: 1.2.0-beta1~1069 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e92efc3742cbb039bf234cf01c79b85bbafcb626;p=thirdparty%2Fasterisk.git Fix PLC for BSD git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5195 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/plc.c b/plc.c index 1f6d8a061e..d14a98f304 100755 --- a/plc.c +++ b/plc.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include @@ -123,7 +124,6 @@ static int __inline__ amdf_pitch(int min_pitch, int max_pitch, int16_t amp[], in 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_rx(plc_state_t *s, int16_t amp[], int len) 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;