diff options
author | Marton Balint <cus@passwd.hu> | 2022-04-14 23:14:27 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2022-04-22 21:58:47 +0200 |
commit | 58aa06bea01c7d5a4ed06c502838a31d518f6a6b (patch) | |
tree | ab71e70055a770ebe217854d3adc0f34a11451cc /libavutil/log2_tab.c | |
parent | fbd22504c4148d2a01ccfe38df26c144f56db76b (diff) | |
download | ffmpeg-58aa06bea01c7d5a4ed06c502838a31d518f6a6b.tar.gz |
avutil/cpu: #define _GNU_SOURCE before including any standard headers
Otherwise its effect might not work causing CPU_COUNT to not get defined.
Fixes cpu count detection to actually use sched_getaffinity if available.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavutil/log2_tab.c')
0 files changed, 0 insertions, 0 deletions