| commit | 4ff59b55e625c24c3a79c16cef2c9d116593499e | [log] [tgz] |
|---|---|---|
| author | Yaowu Xu <yaowu@google.com> | Mon Apr 24 12:41:56 2017 -0700 |
| committer | Yaowu Xu <yaowu@google.com> | Mon Apr 24 23:30:43 2017 +0000 |
| tree | e670e7952df15807c1ea0b4c0f319052ebd33c53 | |
| parent | 6160df2936976b826f4f8877aabf5433051d2b6c [diff] [blame] |
Cleanup: Remove const for params passed by value BUG=aomedia:448 Change-Id: Ieff977fca8a5033ddef2871a194870f59301ad8f
diff --git a/av1/encoder/mcomp.c b/av1/encoder/mcomp.c index d8fab61..f5745f2 100644 --- a/av1/encoder/mcomp.c +++ b/av1/encoder/mcomp.c
@@ -362,7 +362,7 @@ return besterr; } -static INLINE int divide_and_round(const int n, const int d) { +static INLINE int divide_and_round(int n, int d) { return ((n < 0) ^ (d < 0)) ? ((n - d / 2) / d) : ((n + d / 2) / d); }