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

Git pushed a commit to branch master
in repository ffmpeg.

commit c58330248dd58cd40a53b61542038178cfe98436
Author:     zhang xingxing <[email protected]>
AuthorDate: Thu Oct 15 04:13:26 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sat Oct 24 20:19:14 2026 +0000

    avcodec/vvc/dec: return the error code of a failed frame submission
    
    Fixes: Q85BEVq7MjZZ
    Fixes: 
swarm-Operator-precedence-masks-hardware-frame-submit-error-code-9c3184
    
    Found-by: zhang xingxing <[email protected]>
    
    Masked decoder error Replicated through UnModified FFmpeg with the decoder 
log
    
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/vvc/dec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/vvc/dec.c b/libavcodec/vvc/dec.c
index f7c51f01a1..c1326fe17c 100644
--- a/libavcodec/vvc/dec.c
+++ b/libavcodec/vvc/dec.c
@@ -1145,14 +1145,14 @@ static int submit_frame(VVCContext *s, VVCFrameContext 
*fc, AVFrame *output, int
     int ret;
 
     if (s->avctx->hwaccel) {
-        if (ret = FF_HW_SIMPLE_CALL(s->avctx, end_frame) < 0) {
+        if ((ret = FF_HW_SIMPLE_CALL(s->avctx, end_frame)) < 0) {
             av_log(s->avctx, AV_LOG_ERROR,
                    "Hardware accelerator failed to decode picture\n");
             ff_vvc_unref_frame(fc, fc->ref, ~0);
             return ret;
         }
     } else {
-        if (ret = ff_vvc_frame_submit(s, fc) < 0) {
+        if ((ret = ff_vvc_frame_submit(s, fc)) < 0) {
             ff_vvc_report_frame_finished(fc->ref);
             return ret;
         }

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