mirror of https://git.ffmpeg.org/ffmpeg.git
avutil/log: remove stray ;
regression since 5a18b215f7
Reported-by: J_Darnley
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
49e040e868
commit
609ef89703
|
@ -130,7 +130,7 @@ static void check_color_terminal(void)
|
||||||
use_color = !getenv("NO_COLOR") && !getenv("AV_LOG_FORCE_NOCOLOR") &&
|
use_color = !getenv("NO_COLOR") && !getenv("AV_LOG_FORCE_NOCOLOR") &&
|
||||||
(getenv("TERM") && isatty(2) || getenv("AV_LOG_FORCE_COLOR"));
|
(getenv("TERM") && isatty(2) || getenv("AV_LOG_FORCE_COLOR"));
|
||||||
if ( getenv("AV_LOG_FORCE_256COLOR")
|
if ( getenv("AV_LOG_FORCE_256COLOR")
|
||||||
|| (term && strstr(term, "256color")));
|
|| (term && strstr(term, "256color")))
|
||||||
use_color *= 256;
|
use_color *= 256;
|
||||||
#else
|
#else
|
||||||
use_color = getenv("AV_LOG_FORCE_COLOR") && !getenv("NO_COLOR") &&
|
use_color = getenv("AV_LOG_FORCE_COLOR") && !getenv("NO_COLOR") &&
|
||||||
|
|
Loading…
Reference in New Issue