[FFmpeg-devel] [PATCH 2/2] Autodetect pthreads
Måns Rullgård
mans
Mon Apr 19 15:01:06 CEST 2010
David Conrad <lessen42 at gmail.com> writes:
> Autoenable pthreads for libx264
>
> diff --git a/configure b/configure
> index 959d63b..d2ec4c1 100755
> --- a/configure
> +++ b/configure
> @@ -2579,6 +2579,11 @@ pthreads_if_any='
> mpeg2video_encoder
> '
>
> +# autoenable pthreads if the external lib is likely to depend on them
> +if ! disabled pthreads; then
> + enabled libx264 && enable pthreads
> +fi
This will break if any other threading lib is selected.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list