summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-28 00:15:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-28 00:50:23 +0200
commit394b692b70587af74a6957640cab0dce3bc9934d (patch)
tree4ed3f05e87700f045c91d4c9c33e31d5aae23442 /libavutil
parent875851294f7dc3ce5945c6d43b76c5dd1e0ec03d (diff)
parent8271f55bd7d6f4e06786dc8dd7c9538d83ad026a (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: avprobe: restore pseudo-INI old style format for compatibility. avprobe: fix formatting. log: make colored output more colorful. rtsp: Check for dynamic payload handlers if no static payload mapping was found Conflicts: Changelog doc/ffprobe.texi ffprobe.c libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/log.c b/libavutil/log.c
index fbe9ea0a68..e62f11ceb4 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -34,13 +34,13 @@ static int flags;
#if defined(_WIN32) && !defined(__MINGW32CE__)
#include <windows.h>
-static const uint8_t color[] = { 12, 12, 12, 14, 7, 7, 10 };
+static const uint8_t color[] = { 12, 12, 12, 14, 7, 10, 11 };
static int16_t background, attr_orig;
static HANDLE con;
#define set_color(x) SetConsoleTextAttribute(con, background | color[x])
#define reset_color() SetConsoleTextAttribute(con, attr_orig)
#else
-static const uint8_t color[] = { 0x41, 0x41, 0x11, 0x03, 9, 9, 2 };
+static const uint8_t color[] = { 0x41, 0x41, 0x11, 0x03, 9, 0x02, 0x06 };
#define set_color(x) fprintf(stderr, "\033[%d;3%dm", color[x] >> 4, color[x]&15)
#define reset_color() fprintf(stderr, "\033[0m")
#endif