[x264-devel] [PATCH] Linux x264_cpu_num_processors(): use glibc macros

Rafaël Carré rafael.carre at gmail.com
Mon Jun 27 15:51:25 CEST 2011


Le Sat, 25 Jun 2011 16:20:30 -0400,
Rafaël Carré <rafael.carre at gmail.com> a écrit :

> +    return sched_getaffinity( 0, sizeof p_aff, &p_aff ) ? 1 :
> CPU_COUNT(p_aff); 

Sorry I managed to send an untested patch, here is the correct version.

-- 
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Linux-x264_cpu_num_processors-use-glibc-macros.patch
Type: text/x-patch
Size: 1155 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20110627/b535e9a8/attachment.bin>


More information about the x264-devel mailing list