diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-17 00:20:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-17 00:20:49 +0100 |
commit | f8607cfb0a8276de31512c6fabc2be17feff32a2 (patch) | |
tree | e1b28864a44abfec610488485ba1f2b63e42e00e | |
parent | cdee0c9d5feda0adb7e966bb524bc3e2ab3da27b (diff) | |
download | ffmpeg-f8607cfb0a8276de31512c6fabc2be17feff32a2.tar.gz |
avutil/intmath: Add () to protect the ff_log2() argument
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavutil/intmath.h | 2 |
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 |