projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0403c2e
)
Disable ANSI color code until we figured out how to detect ANSI support in
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 22 Apr 2010 20:39:34 +0000
(20:39 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 22 Apr 2010 20:39:34 +0000
(20:39 +0000)
the used terminal.
Originally committed as revision 22948 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/log.c
patch
|
blob
|
history
diff --git
a/libavutil/log.c
b/libavutil/log.c
index
1a8f306
..
3d4d1d0
100644
(file)
--- 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");
}
}