[FFmpeg-devel] [PATCH 1/2] Check whether any decoders/encoders/etc are enabled after checking dependencies

Måns Rullgård mans
Mon Apr 19 13:15:04 CEST 2010


David Conrad <lessen42 at gmail.com> writes:

> This will be needed to enable threads if pthreads is suggested
> ---
>  configure |   26 +++++++++++++-------------
>  1 files changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/configure b/configure
> index 25e8cef..9b9ae51 100755
> --- a/configure
> +++ b/configure
> @@ -2795,19 +2795,6 @@ fi
>  # Find out if the .align argument is a power of two or not.
>  check_asm asmalign_pot '".align 3"'
>
> -enabled_any $DECODER_LIST      && enable decoders
> -enabled_any $ENCODER_LIST      && enable encoders
> -enabled_any $HWACCEL_LIST      && enable hwaccels
> -enabled_any $BSF_LIST          && enable bsfs
> -enabled_any $DEMUXER_LIST      && enable demuxers
> -enabled_any $MUXER_LIST        && enable muxers
> -enabled_any $FILTER_LIST       && enable filters
> -enabled_any $INDEV_LIST        && enable indevs
> -enabled_any $OUTDEV_LIST       && enable outdevs
> -enabled_any $PROTOCOL_LIST     && enable protocols
> -
> -enabled_any $THREADS_LIST      && enable threads
> -
>  check_deps $CONFIG_LIST       \
>             $CONFIG_EXTRA      \
>             $HAVE_LIST         \
> @@ -2823,6 +2810,19 @@ check_deps $CONFIG_LIST       \
>             $OUTDEV_LIST       \
>             $PROTOCOL_LIST     \
>
> +enabled_any $DECODER_LIST      && enable decoders
> +enabled_any $ENCODER_LIST      && enable encoders
> +enabled_any $HWACCEL_LIST      && enable hwaccels
> +enabled_any $BSF_LIST          && enable bsfs
> +enabled_any $DEMUXER_LIST      && enable demuxers
> +enabled_any $MUXER_LIST        && enable muxers
> +enabled_any $FILTER_LIST       && enable filters
> +enabled_any $INDEV_LIST        && enable indevs
> +enabled_any $OUTDEV_LIST       && enable outdevs
> +enabled_any $PROTOCOL_LIST     && enable protocols
> +
> +enabled_any $THREADS_LIST      && enable threads
> +
>  enabled asm || disable $ARCH_LIST $ARCH_EXT_LIST

Please explain why this is needed.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list