summaryrefslogtreecommitdiff
path: root/libs/ffvpx/libavutil/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ffvpx/libavutil/common.h')
-rw-r--r--libs/ffvpx/libavutil/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ffvpx/libavutil/common.h b/libs/ffvpx/libavutil/common.h
index 8db029117..bad43e426 100644
--- a/libs/ffvpx/libavutil/common.h
+++ b/libs/ffvpx/libavutil/common.h
@@ -331,7 +331,7 @@ static av_always_inline av_const double av_clipd_c(double a, double amin, double
*/
static av_always_inline av_const int av_ceil_log2_c(int x)
{
- return av_log2((x - 1) << 1);
+ return av_log2((x - 1U) << 1);
}
/**