| Index: webrtc/modules/audio_coding/codecs/ilbc/frame_classify.c
|
| diff --git a/webrtc/modules/audio_coding/codecs/ilbc/frame_classify.c b/webrtc/modules/audio_coding/codecs/ilbc/frame_classify.c
|
| index d124b6b7f7499faebb2c7bcf9e0352ffed17c45f..6a68dec16f612f88660c8cc91c77d7ba1599452f 100644
|
| --- a/webrtc/modules/audio_coding/codecs/ilbc/frame_classify.c
|
| +++ b/webrtc/modules/audio_coding/codecs/ilbc/frame_classify.c
|
| @@ -62,7 +62,7 @@ int16_t WebRtcIlbcfix_FrameClassify(
|
| }
|
|
|
| /* Scale to maximum 20 bits in order to allow for the 11 bit window */
|
| - maxW32 = WebRtcSpl_MaxValueW32(ssqEn, (int16_t)(iLBCenc_inst->nsub-1));
|
| + maxW32 = WebRtcSpl_MaxValueW32(ssqEn, iLBCenc_inst->nsub - 1);
|
| scale = WebRtcSpl_GetSizeInBits(maxW32) - 20;
|
| scale1 = WEBRTC_SPL_MAX(0, scale);
|
|
|
| @@ -82,7 +82,7 @@ int16_t WebRtcIlbcfix_FrameClassify(
|
| }
|
|
|
| /* Extract the best choise of start state */
|
| - pos = WebRtcSpl_MaxIndexW32(ssqEn, (int16_t)(iLBCenc_inst->nsub-1)) + 1;
|
| + pos = WebRtcSpl_MaxIndexW32(ssqEn, iLBCenc_inst->nsub - 1) + 1;
|
|
|
| return(pos);
|
| }
|
|
|