| Index: webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c
|
| diff --git a/webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c b/webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c
|
| index 6dca0b7ba276de75c1535a49d850d17ab08bb590..c630dd5af9780aa23022993817f8d4430fc622b0 100644
|
| --- a/webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c
|
| +++ b/webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c
|
| @@ -119,8 +119,8 @@ int WebRtcIlbcfix_EnhancerInterface( /* (o) Estimated lag in end of in[] */
|
| shifts = WEBRTC_SPL_MAX(0, shifts);
|
|
|
| /* compute cross correlation */
|
| - WebRtcSpl_CrossCorrelation(corr32, target, regressor,
|
| - ENH_BLOCKL_HALF, 50, (int16_t)shifts, -1);
|
| + WebRtcSpl_CrossCorrelation(corr32, target, regressor, ENH_BLOCKL_HALF, 50,
|
| + shifts, -1);
|
|
|
| /* Find 3 highest correlations that should be compared for the
|
| highest (corr*corr)/ener */
|
| @@ -205,8 +205,8 @@ int WebRtcIlbcfix_EnhancerInterface( /* (o) Estimated lag in end of in[] */
|
| shifts=0;
|
|
|
| /* compute cross correlation */
|
| - WebRtcSpl_CrossCorrelation(corr32, target, regressor,
|
| - plc_blockl, 3, (int16_t)shifts, 1);
|
| + WebRtcSpl_CrossCorrelation(corr32, target, regressor, plc_blockl, 3, shifts,
|
| + 1);
|
|
|
| /* find lag */
|
| lag=WebRtcSpl_MaxIndexW32(corr32, 3);
|
|
|