Commit 01385bff33 for ffmpeg

commit 01385bff334156cc00d3b22be1b14dd52cda0ed1
Author: Kacper Michajłow <kasper93@gmail.com>
Date:   Tue Sep 22 18:32:54 2026 +0200

    avutil/tests/log: initialize the console state before forcing use_color

    The test assigns use_color directly, which skips check_color_terminal().
    On Windows the console handle then stays NULL and WriteConsoleW()
    silently drops every line, so the test printed nothing at all.

    Signed-off-by: Kacper Michajłow <kasper93@gmail.com>

diff --git a/libavutil/tests/log.c b/libavutil/tests/log.c
index 8fe9461c1b..d8c792982d 100644
--- a/libavutil/tests/log.c
+++ b/libavutil/tests/log.c
@@ -38,6 +38,7 @@ int main(int argc, char **argv)
 {
     int i;
     av_log_set_level(AV_LOG_DEBUG);
+    check_color_terminal();
     for (use_color=0; use_color<=256; use_color = 255*use_color+1) {
         av_log(NULL, AV_LOG_FATAL, "use_color: %d\n", use_color);
         for (i = AV_LOG_DEBUG; i>=AV_LOG_QUIET; i-=8) {