mirror of https://git.ffmpeg.org/ffmpeg.git
fft-test: switch to new cpu flags API
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3250231a02
commit
e71df841ee
|
@ -288,10 +288,12 @@ int main(int argc, char **argv)
|
|||
scale = atof(optarg);
|
||||
break;
|
||||
case 'c':
|
||||
cpuflags = av_parse_cpu_flags(optarg);
|
||||
if (cpuflags < 0)
|
||||
cpuflags = av_get_cpu_flags();
|
||||
|
||||
if (av_parse_cpu_caps(&cpuflags, optarg) < 0)
|
||||
return 1;
|
||||
av_set_cpu_flags_mask(cpuflags);
|
||||
|
||||
av_force_cpu_flags(cpuflags);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue