summaryrefslogtreecommitdiff
path: root/libavutil/log.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-04-22 20:39:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-04-22 20:39:34 +0000
commit2c4b87ea0e61cc762de7536dbae743effc12ba08 (patch)
tree7cae600cad5dc3035ca4213d518f557ca7317f93 /libavutil/log.c
parent0403c2e3e4f45c3f6fb452e9af1d95a5df1e176c (diff)
Disable ANSI color code until we figured out how to detect ANSI support in
the used terminal. Originally committed as revision 22948 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/log.c')
-rw-r--r--libavutil/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/log.c b/libavutil/log.c
index 1a8f306958..3d4d1d0358 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -40,11 +40,11 @@ int av_log_level = AV_LOG_INFO;
#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");
}
}