Commit 38e409eb authored by michael's avatar michael

Disable ANSI color code until we figured out how to detect ANSI support in

the used terminal.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22948 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0b1bdd45
......@@ -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");
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment