[FFmpeg-devel] [PATCH]Do not allow 0 threads

Jason Garrett-Glaser darkshikari
Thu Sep 3 01:57:02 CEST 2009

On Wed, Sep 2, 2009 at 4:37 PM, Baptiste
Coudurier<baptiste.coudurier at gmail.com> wrote:
> Hi Carl Eugen,
> On 09/02/2009 04:12 PM, Carl Eugen Hoyos wrote:
>> Hi!
>> Attached patch should fix issue 1333.
> Isn't 0 threads, "auto" with libx264 ?

Yes, though only because 0 happens to be defined as X264_THREADS_AUTO
in x264.h.  Proper fix would be to actually parse "auto" on the
commandline correctly, but if that can't be done, it's at least better
to leave it as it is so that "auto" can even be used...

Dark Shikari

More information about the ffmpeg-devel mailing list