Commit 2f5ee597 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Android: use number of available processors

_ONLN is the currently online number of processors, while _CONF
is the number of configured processors, some of which can be disabled.
parent 72a00334
......@@ -417,5 +417,5 @@ mtime_t mdate (void)
unsigned vlc_GetCPUCount(void)
return sysconf(_SC_NPROCESSORS_CONF);
return sysconf(_SC_NPROCESSORS_ONLN);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment