Commit e71df841 authored by Michael Niedermayer's avatar Michael Niedermayer

fft-test: switch to new cpu flags API

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3250231a
...@@ -288,10 +288,12 @@ int main(int argc, char **argv) ...@@ -288,10 +288,12 @@ int main(int argc, char **argv)
scale = atof(optarg); scale = atof(optarg);
break; break;
case 'c': case 'c':
cpuflags = av_parse_cpu_flags(optarg); cpuflags = av_get_cpu_flags();
if (cpuflags < 0)
if (av_parse_cpu_caps(&cpuflags, optarg) < 0)
return 1; return 1;
av_set_cpu_flags_mask(cpuflags);
av_force_cpu_flags(cpuflags);
break; break;
} }
} }
......
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