diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2014-04-03 19:56:31 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-04-03 23:43:47 +0200 |
commit | 9464b69da6b373d1eeb6b3d269ad029d9647b498 (patch) | |
tree | f49deaf413595058fd3ad09e34fcbbc33cd79657 /libavutil/log.c | |
parent | 4ede1862dc62f4cac030a171099d8ec8a9b079ab (diff) | |
download | ffmpeg-9464b69da6b373d1eeb6b3d269ad029d9647b498.tar.gz |
log: Unbreak windows support
Add the missing define.
Diffstat (limited to 'libavutil/log.c')
-rw-r--r-- | libavutil/log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/log.c b/libavutil/log.c index af86eff70b..5a8f293f20 100644 --- a/libavutil/log.c +++ b/libavutil/log.c @@ -50,6 +50,7 @@ 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) +#define print_256color(x) #else 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) |