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
99982524
Commit
99982524
authored
Sep 26, 2015
by
Henrik Gramner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checkasm: Remove use of deprecated av_set_cpu_flags_mask()
parent
de2f5316
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
checkasm.c
tests/checkasm/checkasm.c
+3
-2
No files found.
tests/checkasm/checkasm.c
View file @
99982524
...
@@ -361,8 +361,9 @@ static void check_cpu_flag(const char *name, int flag)
...
@@ -361,8 +361,9 @@ static void check_cpu_flag(const char *name, int flag)
int
old_cpu_flag
=
state
.
cpu_flag
;
int
old_cpu_flag
=
state
.
cpu_flag
;
flag
|=
old_cpu_flag
;
flag
|=
old_cpu_flag
;
av_set_cpu_flags_mask
(
flag
);
av_force_cpu_flags
(
-
1
);
state
.
cpu_flag
=
av_get_cpu_flags
();
state
.
cpu_flag
=
flag
&
av_get_cpu_flags
();
av_force_cpu_flags
(
state
.
cpu_flag
);
if
(
!
flag
||
state
.
cpu_flag
!=
old_cpu_flag
)
{
if
(
!
flag
||
state
.
cpu_flag
!=
old_cpu_flag
)
{
int
i
;
int
i
;
...
...
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