[FFmpeg-devel] [PATCH 2/2] Autodetect pthreads

Sebastian Vater cdgs.basty
Mon Apr 19 20:41:04 CEST 2010

Hi Jason and all others!

Jason Garrett-Glaser a ?crit :
> For those who do not want or need zlib, enabling it by default will be
> an annoyance.  Until you can make it read people's minds, it will
> always be wrong for someone.
> So we should disable zlib now too, right?
> ffmpeg should default to what the majority of users want.  The
> majority of users are willing to sacrifice a few kilobytes of code for
> thread support.  If you think otherwise, you are wrong.
It's not only this.

pthreads makes it impossible with at least MinGW 4.4.1 to fully
statically link an application, because it requires a mingw*.dll.

At least I was unable getting a fully statically linked executable with
that version (even with static pthreads).

Unless this issue has not been fixed yet, I agree that it's a bad idea
to enable pthreads by default.


Best regards,
                   :-) Basty/CDGS (-:

More information about the ffmpeg-devel mailing list