Commit 99982524 authored by Henrik Gramner's avatar Henrik Gramner

checkasm: Remove use of deprecated av_set_cpu_flags_mask()

parent de2f5316
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment