changeset 902:143b937b0b03 libavutil

Disable ANSI color code until we figured out how to detect ANSI support in the used terminal.
author michael
date Thu, 22 Apr 2010 20:39:34 +0000
parents 5b60f5ff30da
children b0cedb31562f
files log.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/log.c	Thu Apr 22 18:58:39 2010 +0000
+++ b/log.c	Thu Apr 22 20:39:34 2010 +0000
@@ -40,11 +40,11 @@
 #undef fprintf
 static void colored_fputs(int color, const char *str){
     if(isatty(2)){
-        fprintf(stderr, "\033[%dm\033[3%dm", color>>4, color&15);
+//        fprintf(stderr, "\033[%dm\033[3%dm", color>>4, color&15);
     }
     fputs(str, stderr);
     if(isatty(2)){
-        fprintf(stderr, "\033[0m");
+  //      fprintf(stderr, "\033[0m");
     }
 }