aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_encode_h264.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2022-04-14 23:14:27 +0200
committerMarton Balint <cus@passwd.hu>2022-04-22 21:58:47 +0200
commit58aa06bea01c7d5a4ed06c502838a31d518f6a6b (patch)
treeab71e70055a770ebe217854d3adc0f34a11451cc /libavcodec/vaapi_encode_h264.c
parentfbd22504c4148d2a01ccfe38df26c144f56db76b (diff)
downloadffmpeg-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 'libavcodec/vaapi_encode_h264.c')
0 files changed, 0 insertions, 0 deletions