From 9c261f8340d9f751ce972819e507a24f18b4c2fb Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 1 Aug 2010 23:04:10 +0000 Subject: [PATCH] Implement set_ne_test_deps() and use if for the lavfi pixdesc test. Originally committed as revision 24653 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 4619ab1f2e..3167d5d3da 100755 --- a/configure +++ b/configure @@ -1408,6 +1408,11 @@ test_deps(){ done } +set_ne_test_deps(){ + eval ${1}_be_test_deps="bigendian" + eval ${1}_le_test_deps="!bigendian" +} + test_deps _encoder _decoder \ ac3 \ adpcm_g726=g726 \ @@ -1482,8 +1487,8 @@ 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 pixdesc # default parameters