commit | 2c15052550528415139fa37a121030d777bc630f | [log] [tgz] |
---|---|---|
author | Erik de Castro Lopo <erikd@mega-nerd.com> | Sat Jun 28 21:50:09 2014 +1000 |
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | Sat Jun 28 22:25:18 2014 +1000 |
tree | d9dfd2e5b6bee4d2d4968bb804d9a6c026e1c3df | |
parent | 99257e177eac96fa41a107b423080232f59ebe45 [diff] |
libFLAC: CPUID detecion improvements. According to docs, it's incorrect to just call CPUID with EAX=1. One must to ensure that this value is supported. CPUs that don't support CPUID level 1 are very old, but... if FLAC tests CPUID presence it should also test CPUID level support. Also the function FLAC__cpu_have_cpuid_asm_ia32 was simplified according to the docs at Intel website and in Wikipedia. Patch-from: lvqcl <lvqcl.mail@gmail.com>