Commit f8607cfb authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/intmath: Add () to protect the ff_log2() argument

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cdee0c9d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment