Index: webrtc/modules/audio_coding/codecs/ilbc/state_search.c |
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/state_search.c b/webrtc/modules/audio_coding/codecs/ilbc/state_search.c |
index b2214c786f5755d7f4c7d0812ee07bee2140e335..295c543d84e0f4712185588c30f9a4981e355646 100644 |
--- a/webrtc/modules/audio_coding/codecs/ilbc/state_search.c |
+++ b/webrtc/modules/audio_coding/codecs/ilbc/state_search.c |
@@ -33,7 +33,7 @@ void WebRtcIlbcfix_StateSearch( |
int16_t *syntDenum, /* (i) lpc synthesis filter */ |
int16_t *weightDenum /* (i) weighting filter denuminator */ |
) { |
- int16_t k, index; |
+ size_t k, index; |
int16_t maxVal; |
int16_t scale, shift; |
int32_t maxValsq; |
@@ -64,9 +64,9 @@ void WebRtcIlbcfix_StateSearch( |
/* Run the Zero-Pole filter (Ciurcular convolution) */ |
WebRtcSpl_MemSetW16(residualLongVec, 0, LPC_FILTERORDER); |
- WebRtcSpl_FilterMAFastQ12( |
- residualLong, sampleMa, |
- numerator, LPC_FILTERORDER+1, (int16_t)(iLBCenc_inst->state_short_len + LPC_FILTERORDER)); |
+ WebRtcSpl_FilterMAFastQ12(residualLong, sampleMa, numerator, |
+ LPC_FILTERORDER + 1, |
+ iLBCenc_inst->state_short_len + LPC_FILTERORDER); |
WebRtcSpl_MemSetW16(&sampleMa[iLBCenc_inst->state_short_len + LPC_FILTERORDER], 0, iLBCenc_inst->state_short_len - LPC_FILTERORDER); |
WebRtcSpl_FilterARFastQ12( |