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
cc5e9e5f
Commit
cc5e9e5f
authored
Oct 03, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: ff_get_cpu_flags_x86(): Avoid a pointless variable indirection
parent
1e164c0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
cpu.c
libavutil/x86/cpu.c
+1
-4
No files found.
libavutil/x86/cpu.c
View file @
cc5e9e5f
...
...
@@ -108,10 +108,7 @@ int ff_get_cpu_flags_x86(void)
return
0
;
/* CPUID not supported */
#endif
cpuid
(
0
,
max_std_level
,
ebx
,
ecx
,
edx
);
vendor
.
i
[
0
]
=
ebx
;
vendor
.
i
[
1
]
=
edx
;
vendor
.
i
[
2
]
=
ecx
;
cpuid
(
0
,
max_std_level
,
vendor
.
i
[
0
],
vendor
.
i
[
2
],
vendor
.
i
[
1
]);
if
(
max_std_level
>=
1
)
{
cpuid
(
1
,
eax
,
ebx
,
ecx
,
std_caps
);
...
...
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