It is part of change from https://trac.ffmpeg.org/ticket/5680 provided
by Kylie McClain <soma...@exherbo.org> at Wed, 29 Jun 2016 16:37:20 -0400.

That change contains two parts, in function log_file and in function 
print_in_columns.

The second part is not good, so I have send out a new patch for 
print_in_columns.

As for the change in the first part, it is good. Just to make the whole thing 
completed,
i send out this patch to copy exactally the change in function log_file.

contributor: Kylie McClain <soma...@exherbo.org>
Signed-off-by: Guo, Yejun <yejun....@intel.com>
---
 configure | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 8941063..9d2d7be 100755
--- a/configure
+++ b/configure
@@ -503,7 +503,11 @@ log(){
 
 log_file(){
     log BEGIN $1
-    pr -n -t $1 >> $logfile
+    i=1
+    while read line;do
+        printf '%5s   %s\n' "${i}" "${line}"
+        i=$(($i+1))
+    done < $1 >> $logfile
     log END $1
 }
 
-- 
2.7.4

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to