[FFmpeg-cvslog] configure: add filter_out() function
Mans Rullgard
git
Wed Jan 26 04:01:18 CET 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Tue Jan 25 14:44:07 2011 +0000| [9c5c348eefcef41b1d0e459348dadeeb731e8b59] | committer: Michael Niedermayer
configure: add filter_out() function
This adds a function to filter out words matching a pattern
from a list.
Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit 9d201b260627aacdb00e4a54622849aca11d85ee)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9c5c348eefcef41b1d0e459348dadeeb731e8b59
---
configure | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index cb4fe88..8f34e97 100755
--- a/configure
+++ b/configure
@@ -321,6 +321,14 @@ filter(){
done
}
+filter_out(){
+ pat=$1
+ shift
+ for v; do
+ eval "case $v in $pat) ;; *) echo $v ;; esac"
+ done
+}
+
map(){
m=$1
shift
More information about the ffmpeg-cvslog
mailing list