Index: webrtc/modules/audio_coding/codecs/ilbc/refiner.c |
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/refiner.c b/webrtc/modules/audio_coding/codecs/ilbc/refiner.c |
index ca99b3a912fec7cd541adeb4964369caeb6842af..2fff362f16e55f7e680d948147e2c32e4955c1ce 100644 |
--- a/webrtc/modules/audio_coding/codecs/ilbc/refiner.c |
+++ b/webrtc/modules/audio_coding/codecs/ilbc/refiner.c |
@@ -75,7 +75,7 @@ void WebRtcIlbcfix_Refiner( |
/* Calculate the rescaling factor for the correlation in order to |
put the correlation in a int16_t vector instead */ |
- maxtemp=WebRtcSpl_MaxAbsValueW32(corrVecTemp, (int16_t)corrdim); |
+ maxtemp=WebRtcSpl_MaxAbsValueW32(corrVecTemp, corrdim); |
scalefact=WebRtcSpl_GetSizeInBits(maxtemp)-15; |
@@ -97,7 +97,7 @@ void WebRtcIlbcfix_Refiner( |
WebRtcIlbcfix_EnhUpsample(corrVecUps,corrVec); |
/* Find maximum */ |
- tloc=WebRtcSpl_MaxIndexW32(corrVecUps, (int16_t) (ENH_UPS0*corrdim)); |
+ tloc=WebRtcSpl_MaxIndexW32(corrVecUps, ENH_UPS0 * corrdim); |
/* make vector can be upsampled without ever running outside |
bounds */ |