From d7dfbc86105ae2ad04a547042140cd12353e65e5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 5 Jan 2015 12:34:34 +0100 Subject: 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. --- old-makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'old-makefile') 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 \ -- cgit v1.2.3