aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-04-23 08:11:53 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-04-23 08:11:53 +0000
commit7328cdfa58c1574b618b96f252bbba33d7a6bcd2 (patch)
tree9f61a5e75ff98a92eeec0f572db31aff2a8825f7 /libavutil
parent841073ce5ecaceb4c74410887095632d7cc5ef6b (diff)
downloadffmpeg-7328cdfa58c1574b618b96f252bbba33d7a6bcd2.tar.gz
Merge the 2 ANSI ESC codes.
Originally committed as revision 22952 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/log.c b/libavutil/log.c
index db62d70e31..9c13d4d1a4 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -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)){