1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-02-17 00:20:30 +01:00
parent cdee0c9d5f
commit f8607cfb0a

@ -45,7 +45,7 @@
#endif /* ff_log2 */ #endif /* ff_log2 */
#elif defined( __INTEL_COMPILER ) #elif defined( __INTEL_COMPILER )
#ifndef ff_log2 #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 # ifndef ff_log2_16bit
# define ff_log2_16bit av_log2 # define ff_log2_16bit av_log2
# endif # endif