This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 01385bff334156cc00d3b22be1b14dd52cda0ed1
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Tue Sep 22 18:32:54 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Tue Sep 29 22:39:09 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 <[email protected]>
---
 libavutil/tests/log.c | 1 +
 1 file changed, 1 insertion(+)

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

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to