From 50bfd547b9565bda7c282d280884ed0fd4e0fe9d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 7 Jul 2012 12:54:03 +0200 Subject: [PATCH] log: fix compilation failure on mingw due to reference to undefined set_color256 Signed-off-by: Michael Niedermayer --- libavutil/log.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/log.c b/libavutil/log.c index a637e8e391..53c756b561 100644 --- a/libavutil/log.c +++ b/libavutil/log.c @@ -65,6 +65,7 @@ static const uint8_t color[16 + AV_CLASS_CATEGORY_NB] = { static int16_t background, attr_orig; static HANDLE con; #define set_color(x) SetConsoleTextAttribute(con, background | color[x]) +#define set_256color set_color #define reset_color() SetConsoleTextAttribute(con, attr_orig) #else