| Index: webrtc/modules/audio_coding/codecs/ilbc/cb_search.c
|
| diff --git a/webrtc/modules/audio_coding/codecs/ilbc/cb_search.c b/webrtc/modules/audio_coding/codecs/ilbc/cb_search.c
|
| index a775a024cbf8f7e21f166a279941f522f83011af..2ee9f6c25a42aff86643ded1ecb4e4e297d8ce26 100644
|
| --- a/webrtc/modules/audio_coding/codecs/ilbc/cb_search.c
|
| +++ b/webrtc/modules/audio_coding/codecs/ilbc/cb_search.c
|
| @@ -108,8 +108,8 @@ void WebRtcIlbcfix_CbSearch(
|
|
|
| /* Find the highest absolute value to calculate proper
|
| vector scale factor (so that it uses 12 bits) */
|
| - temp1 = WebRtcSpl_MaxAbsValueW16(buf, (int16_t)lMem);
|
| - temp2 = WebRtcSpl_MaxAbsValueW16(target, (int16_t)lTarget);
|
| + temp1 = WebRtcSpl_MaxAbsValueW16(buf, lMem);
|
| + temp2 = WebRtcSpl_MaxAbsValueW16(target, lTarget);
|
|
|
| if ((temp1>0)&&(temp2>0)) {
|
| temp1 = WEBRTC_SPL_MAX(temp1, temp2);
|
| @@ -332,7 +332,8 @@ void WebRtcIlbcfix_CbSearch(
|
| /* Subtract the best codebook vector, according
|
| to measure, from the target vector */
|
|
|
| - WebRtcSpl_AddAffineVectorToVector(target, pp, (int16_t)(-bestGain), (int32_t)8192, (int16_t)14, (int)lTarget);
|
| + WebRtcSpl_AddAffineVectorToVector(target, pp, (int16_t)(-bestGain),
|
| + (int32_t)8192, (int16_t)14, lTarget);
|
|
|
| /* record quantized gain */
|
| gains[stage+1] = bestGain;
|
|
|