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

Git pushed a commit to branch release/9.1
in repository ffmpeg.

commit dadf2b98d227e68aa5ed2400c13820a593f0ed66
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sun Nov 8 14:17:51 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Thu Nov 19 14:55:53 2026 +0100

    avfilter/vf_lcevc: pass the LCEVCdec log messages through
    
    The size LCEVCdec reports for a log event includes the terminating
    NUL, so the check strlen(data) != size rejected every message and no
    library log, errors included, ever reached the user.
    
    Fixes: dropped library log messages
    
    Found during triage of the Fairy review of 
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25134
    
    Dropped library log messages Replicated through UnModified FFmpeg with
    the ffmpeg log output
    
    (cherry picked from commit b5146a431a6f88ab8211a2daaf2920892d52b9bc)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavfilter/vf_lcevc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_lcevc.c b/libavfilter/vf_lcevc.c
index 02d17e8023..6d4315cf30 100644
--- a/libavfilter/vf_lcevc.c
+++ b/libavfilter/vf_lcevc.c
@@ -399,7 +399,7 @@ static void log_callback(LCEVC_DecoderHandle dec, 
LCEVC_Event event,
     if (event != LCEVC_Log) // shouldn't happen
         return;
 
-    if (strlen(data) != size) // sanitize input
+    if (!size || data[size - 1]) // sanitize input
         return;
 
     av_log(logctx, AV_LOG_INFO, "LCEVC Log: %s\n", data);

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