diff options
author | Timothy B. Terriberry <tterribe@xiph.org> | 2022-06-28 22:33:43 -0700 |
---|---|---|
committer | Timothy B. Terriberry <tterribe@xiph.org> | 2022-06-28 22:57:40 -0700 |
commit | 03889ae76dea9c5e63e64df495fd77d613a03a80 (patch) | |
tree | 7c70b403497b0232013063fc7aa4057f15ea1229 /celt_headers.mk | |
parent | ccb42e05cc6eb98a15874b9695361025b3ee17ab (diff) | |
download | opus-03889ae76dea9c5e63e64df495fd77d613a03a80.tar.gz |
Check the return value of __get_cpuid().
This function can fail if CPUID is not supported or the maximum
supported value of EAX is less than the requested one.
Check the return value and explicitly disable all SIMD if it does
fail.
This was happening before implicitly because of the initialization
of info[] to zero, but being explicit about it makes it less likely
someone will break this behavior because they did not realize what
was going on.
Diffstat (limited to 'celt_headers.mk')
0 files changed, 0 insertions, 0 deletions