[FFmpeg-cvslog] configure: Do not add newlines in filter()/filter_out() functions

Diego Biurrun git at videolan.org
Sat Apr 8 15:11:53 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Nov 10 00:07:06 2016 +0100| [8b56dbe7435d8cfe3964f447fc45fe98db5d9042] | committer: Diego Biurrun

configure: Do not add newlines in filter()/filter_out() functions

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8b56dbe7435d8cfe3964f447fc45fe98db5d9042
---

 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index c01996a..e5a9b96 100755
--- a/configure
+++ b/configure
@@ -429,7 +429,7 @@ filter(){
     pat=$1
     shift
     for v; do
-        eval "case $v in $pat) echo $v ;; esac"
+        eval "case $v in $pat) printf '%s ' $v ;; esac"
     done
 }
 
@@ -437,7 +437,7 @@ filter_out(){
     pat=$1
     shift
     for v; do
-        eval "case $v in $pat) ;; *) echo $v ;; esac"
+        eval "case $v in $pat) ;; *) printf '%s ' $v ;; esac"
     done
 }
 



More information about the ffmpeg-cvslog mailing list