[FFmpeg-devel] [PATCH 1/4] Implement set_ne_test_deps() and use if for the lavfi pixdesc test.

Måns Rullgård mans
Sun Aug 1 22:33:14 CEST 2010


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> ---
>  configure |    9 +++++++--
>  1 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index 4619ab1..b272dee 100755
> --- a/configure
> +++ b/configure
> @@ -1482,8 +1482,13 @@ test_deps _muxer _demuxer                                               \
>      yuv4mpegpipe=yuv4mpeg                                               \
>
>  mpg_test_deps="mpeg1system_muxer mpegps_demuxer"
> -pixdesc_be_test_deps="bigendian"
> -pixdesc_le_test_deps="!bigendian"
> +
> +set_ne_test_deps() {
> +    eval ${1}_be_test_deps="bigendian"
> +    eval ${1}_le_test_deps="!bigendian"
> +}
> +
> +set_ne_test_deps pixdesc

This does not save any lines, nor will it when pixfmt is added.  If we
need even more of these I'll consider it.

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



More information about the ffmpeg-devel mailing list