From 2d2c1398574a127e5dbbcac091fd5fd86c6eea2b Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Thu, 15 Jan 2015 02:54:33 +0000 Subject: [PATCH] ffmpeg: do not use console color escapes in log output git-svn-id: svn://kolibrios.org@5370 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/sdk/sources/ffmpeg/libavutil/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/sdk/sources/ffmpeg/libavutil/log.c b/contrib/sdk/sources/ffmpeg/libavutil/log.c index 8cbbc68e77..cca9e24cc7 100644 --- a/contrib/sdk/sources/ffmpeg/libavutil/log.c +++ b/contrib/sdk/sources/ffmpeg/libavutil/log.c @@ -104,7 +104,7 @@ static const uint32_t color[16 + AV_CLASS_CATEGORY_NB] = { #define set_256color(x) fprintf(stderr, "\033[48;5;%dm\033[38;5;%dm", (color[x] >> 16) & 0xff, (color[x] >> 8) & 0xff) #define reset_color() fprintf(stderr, "\033[0m") #endif -static int use_color = -1; +static int use_color = 0; static void colored_fputs(int level, const char *str) {