From f71785cd3b282ad7d584d746ba5b19833a11692b Mon Sep 17 00:00:00 2001 From: "bjornv@webrtc.org" Date: Wed, 8 Oct 2014 15:36:30 +0000 Subject: 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 --- webrtc/modules/audio_coding/codecs/ilbc/refiner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '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 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; -- cgit v1.2.3