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 d8dc0f6f2f149e0ca5ca2c3ea5951399915d3aea
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sun Nov 8 02:05:58 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Nov 15 06:17:20 2026 +0100

    avcodec/cuviddec: clear the callback error once it has been reported
    
    Fixes: infinite loop
    Fixes: h7TSdP1ov8N5
    
    Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25231
    
    Infinite loop Replicated through UnModified FFmpeg with gdb
    
    (cherry picked from commit 98540b5efa2b8a6f0f0d4036a827df1f254e2ac0)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/cuviddec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c
index c47240d6e1..bc0731652b 100644
--- a/libavcodec/cuviddec.c
+++ b/libavcodec/cuviddec.c
@@ -889,6 +889,7 @@ static int cuvid_decode_packet(AVCodecContext *avctx, const 
AVPacket *avpkt)
     if (ctx->internal_error) {
         av_log(avctx, AV_LOG_ERROR, "cuvid decode callback error\n");
         ret = ctx->internal_error;
+        ctx->internal_error = 0;
         goto error;
     }
 

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