mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 09:59:50 +00:00
avutil/intmath: Add () to protect the ff_log2() argument
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
cdee0c9d5f
commit
f8607cfb0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user