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 eca3d7ebca4128bb812dab859a56d0ba194630ff
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Wed Nov 11 17:45:44 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Thu Nov 19 04:36:59 2026 +0100

    fftools/ffmpeg_filter: mark the frame sent for an output without frames as 
EOF
    
    When the output feeds another filtergraph, that filtergraph expects
    FRAME_OPAQUE_EOF on a frame without buffers.
    
    Fixes: Assertion o == FRAME_OPAQUE_EOF failed
    Fixes: avif/gain_map_alpha_grid.avif without an AV1 software decoder
    Fixes: fsm1bknlI5TP
    
    Found during the triage of a finding from the review of 
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25671
    
    Assertion failure Replicated through UnModified FFmpeg
    
    (cherry picked from commit 76d38c145d252227089477bab8bbb5142b5e4673)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 fftools/ffmpeg_filter.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 6c0cc111ff..2bd358fd40 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -2818,6 +2818,7 @@ static int close_output(OutputFilterPriv *ofp, 
FilterGraphThread *fgt)
         fd->frame_rate_filter = ofp->fps.framerate;
 
         av_assert0(!frame->buf[0]);
+        frame->opaque = (void*)(intptr_t)FRAME_OPAQUE_EOF;
 
         av_log(ofp, AV_LOG_WARNING,
                "No filtered frames for output stream, trying to "

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