forked from KolibriOS/kolibrios
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:
parent
179b91082e
commit
2d2c139857
@ -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 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")
|
#define reset_color() fprintf(stderr, "\033[0m")
|
||||||
#endif
|
#endif
|
||||||
static int use_color = -1;
|
static int use_color = 0;
|
||||||
|
|
||||||
static void colored_fputs(int level, const char *str)
|
static void colored_fputs(int level, const char *str)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user