This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avutil/intmath: Add () to protect the ff_log2() argument
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer
10 years ago
parent
cdee0c9d5f
commit
f8607cfb0a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavutil/intmath.h
+ 1
- 1
libavutil/intmath.h
View File
@@ -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
Write
Preview
Loading…
Cancel
Save