[FFmpeg-devel] [PATCH]Fix possible crash with -threads 0

François Revol revol
Thu Nov 25 18:48:08 CET 2010

Le 25 nov. 2010 ? 17:34, Michael Niedermayer a ?crit :

> On Tue, Nov 23, 2010 at 10:55:18PM +0100, Carl Eugen Hoyos wrote:
>> Hi!
>> Attached patch seems to fix a crash for some users (see issue 2376) - untested 
>> on Windows.
>> Please comment, Carl Eugen
> threads=0 means autodetect the number of threads/cpus.
> I think this should be implemented, shouldnt be that hard. Such implementation
> will fix this bug as a sideeffect

Solaris has some extra sysconf() values:


I first thought they were standardized and added them to Haiku but it seems not, it's not mentioned on the opengroup pages.

Google came up with:

Which answsers the question for Solaris, Haiku and BSD :)


More information about the ffmpeg-devel mailing list