[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:39:46 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
Sorry, didn't read ahead before replying. This is OK, but please put
it after the other test_deps() function and use the same whitespace style.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list