summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/intmath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/intmath.h b/libavutil/intmath.h
index 308c776bb7..fa549c8a2d 100644
--- a/libavutil/intmath.h
+++ b/libavutil/intmath.h
@@ -45,7 +45,7 @@
#endif /* ff_log2 */
#elif defined( __INTEL_COMPILER )
#ifndef ff_log2
-# define ff_log2(x) (_bit_scan_reverse(x|1))
+# define ff_log2(x) (_bit_scan_reverse((x)|1))
# ifndef ff_log2_16bit
# define ff_log2_16bit av_log2
# endif