diff options
author | Martin Storsjö <martin@martin.st> | 2022-09-05 15:17:56 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-09-06 18:46:44 +0300 |
commit | da5f7799a03aa53d0ffd25572aa9c65ba8279e57 (patch) | |
tree | f0a42076656bc69db090778166c7a57670a12219 /libswscale/swscale.h | |
parent | e4759fa951311d7b02a26756af63f7e5b499c7fc (diff) | |
download | ffmpeg-da5f7799a03aa53d0ffd25572aa9c65ba8279e57.tar.gz |
slicethread: Limit the automatic number of threads to 16
This matches a similar cap on the number of automatic threads
in libavcodec/pthread_slice.c.
On systems with lots of cores, this fixes a couple fate failures
in 32 bit mode on such machines (where spawning a huge number of
threads runs out of address space).
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libswscale/swscale.h')
0 files changed, 0 insertions, 0 deletions