diff options
author | wm4 <wm4@nowhere> | 2015-01-05 12:34:34 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-05 12:34:34 +0100 |
commit | d7dfbc86105ae2ad04a547042140cd12353e65e5 (patch) | |
tree | 728c678e61395e45cbaf2a7def317840e8126d7f /old-makefile | |
parent | 0f4bf347c52543057404e5c36f504ab18b901dba (diff) |
player: use libavutil API to get number of CPUs
Our own code was introduced when FFmpeg didn't provide this API (or
maybe didn't even have a way to determine the CPU count). But now,
av_cpu_count() is available for all FFmpeg/Libav versions we support,
and there's no reason to have our own code.
libavutil's code seems to be slightly more sophisticated than our's, and
it's possible that the detected CPU count is different on some platforms
after this change.
Diffstat (limited to 'old-makefile')
-rw-r--r-- | old-makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/old-makefile b/old-makefile index d0d7ebb476..b3c97babe3 100644 --- a/old-makefile +++ b/old-makefile @@ -190,7 +190,6 @@ SOURCES = audio/audio.c \ options/parse_configfile.c \ options/path.c \ osdep/io.c \ - osdep/numcores.c \ osdep/semaphore_osx.c \ osdep/subprocess-posix.c \ osdep/terminal-unix.c \ |