ffmpeg: do not use console color escapes in log output

git-svn-id: svn://kolibrios.org@5370 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2015-01-15 02:54:33 +00:00
parent 179b91082e
commit 2d2c139857

View File

@ -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)
{