Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
5ca44ebd
Commit
5ca44ebd
authored
Jun 06, 2016
by
Matt Oliver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavu/intmath.h: fix compilation with msvc10.
Signed-off-by:
Matt Oliver
<
protogonoi@gmail.com
>
parent
37787f26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
intmath.h
libavutil/x86/intmath.h
+2
-0
No files found.
libavutil/x86/intmath.h
View file @
5ca44ebd
...
...
@@ -47,6 +47,7 @@ static av_always_inline av_const int ff_log2_x86(unsigned int v)
# endif
# define ff_log2_16bit av_log2
#if defined(__INTEL_COMPILER) || (defined(_MSC_VER) && (_MSC_VER >= 1700))
# define ff_ctz(v) _tzcnt_u32(v)
# if ARCH_X86_64
...
...
@@ -58,6 +59,7 @@ static av_always_inline av_const int ff_ctzll_x86(long long v)
return
((
uint32_t
)
v
==
0
)
?
_tzcnt_u32
((
uint32_t
)(
v
>>
32
))
+
32
:
_tzcnt_u32
((
uint32_t
)
v
);
}
# endif
#endif
/* _MSC_VER */
#endif
/* __INTEL_COMPILER */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment