Browse Source

Merge the 2 ANSI ESC codes.

Originally committed as revision 22952 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Michael Niedermayer 15 years ago
parent
commit
7328cdfa58
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/log.c

+ 1
- 1
libavutil/log.c View File

@@ -40,7 +40,7 @@ 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[%d;3%dm", color>>4, color&15);
}
fputs(str, stderr);
if(isatty(2)){


Loading…
Cancel
Save