summaryrefslogtreecommitdiffstats
path: root/old-makefile
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-05 12:34:34 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:18 +0900
commit12c316d95e19d3135528e28683bef9da1726efcd (patch)
treeb5065c1732ac4fe7593939d4ae119df18ee85741 /old-makefile
parentcf997ff6914a46136aead7293cfcc7c2b8682a5c (diff)
downloadmpv-12c316d95e19d3135528e28683bef9da1726efcd.tar.bz2
mpv-12c316d95e19d3135528e28683bef9da1726efcd.tar.xz
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-makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/old-makefile b/old-makefile
index 7408b3c089..e1bd5a39a8 100644
--- a/old-makefile
+++ b/old-makefile
@@ -191,7 +191,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 \