aboutsummaryrefslogtreecommitdiff
path: root/webrtc/modules/audio_coding/codecs/ilbc/refiner.c
diff options
context:
space:
mode:
authorbjornv@webrtc.org <bjornv@webrtc.org>2014-10-08 15:36:30 +0000
committerbjornv@webrtc.org <bjornv@webrtc.org>2014-10-08 15:36:30 +0000
commitf71785cd3b282ad7d584d746ba5b19833a11692b (patch)
tree39a341ee02798369224816bff3ec3f5035f5263c /webrtc/modules/audio_coding/codecs/ilbc/refiner.c
parent575d126a3d4a4bf6d43ea07189ac201f6bfe0798 (diff)
downloadwebrtc-f71785cd3b282ad7d584d746ba5b19833a11692b.tar.gz
audio_coding: Replaced macro WEBRTC_SPL_RSHIFT_W16 with >>
Replaced trivial shift macro with >>. The actual implementation of the macro is simply >>. Affected codecs: * ilbc * isac/fix BUG=3348,3353 TESTED=locally on linux and trybots R=henrik.lundin@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/23889004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7396 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc/modules/audio_coding/codecs/ilbc/refiner.c')
-rw-r--r--webrtc/modules/audio_coding/codecs/ilbc/refiner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/refiner.c b/webrtc/modules/audio_coding/codecs/ilbc/refiner.c
index 50d30c9b81..fed3394812 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/refiner.c
+++ b/webrtc/modules/audio_coding/codecs/ilbc/refiner.c
@@ -53,7 +53,7 @@ void WebRtcIlbcfix_Refiner(
/* defining array bounds */
- estSegPosRounded=WEBRTC_SPL_RSHIFT_W16((estSegPos - 2),2);
+ estSegPosRounded = (estSegPos - 2) >> 2;
searchSegStartPos=estSegPosRounded-ENH_SLOP;
@@ -103,7 +103,7 @@ void WebRtcIlbcfix_Refiner(
bounds */
*updStartPos = (int16_t)WEBRTC_SPL_MUL_16_16(searchSegStartPos,4) + tloc + 4;
- tloc2 = WEBRTC_SPL_RSHIFT_W16((tloc+3), 2);
+ tloc2 = (tloc + 3) >> 2;
st=searchSegStartPos+tloc2-ENH_FL0;