Index: webrtc/modules/audio_coding/codecs/ilbc/xcorr_coef.c |
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/xcorr_coef.c b/webrtc/modules/audio_coding/codecs/ilbc/xcorr_coef.c |
index 3490461d21545f3585fca4a0fcba0e21b1a562a3..328a5feca7d59776fcb11f7175f4854ca63b091a 100644 |
--- a/webrtc/modules/audio_coding/codecs/ilbc/xcorr_coef.c |
+++ b/webrtc/modules/audio_coding/codecs/ilbc/xcorr_coef.c |
@@ -55,11 +55,11 @@ int WebRtcIlbcfix_XcorrCoef( |
/* Find scale value and start position */ |
if (step==1) { |
- max=WebRtcSpl_MaxAbsValueW16(regressor, (int16_t)(subl+searchLen-1)); |
+ max=WebRtcSpl_MaxAbsValueW16(regressor, subl + searchLen - 1); |
rp_beg = regressor; |
rp_end = ®ressor[subl]; |
} else { /* step==-1 */ |
- max=WebRtcSpl_MaxAbsValueW16(®ressor[-searchLen], (int16_t)(subl+searchLen-1)); |
+ max=WebRtcSpl_MaxAbsValueW16(®ressor[-searchLen], subl + searchLen - 1); |
rp_beg = ®ressor[-1]; |
rp_end = ®ressor[subl-1]; |
} |