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

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

commit b10e9a5369b591952d41a3c0ccdd9943e86c41d5
Author:     Frank Plowman <[email protected]>
AuthorDate: Sat Jan 24 13:21:00 2026 +0000
Commit:     Frank Plowman <[email protected]>
CommitDate: Wed Jun 10 15:12:23 2026 +0100

    lavc/vvc: Fix unchecked error codes from set_qp_y
    
    Fixes: 
clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VVC_fuzzer-4957602162475008
    
    (cherry-picked from commit f9740eb969eb669d1985b0f98e0979e4b7ce2894)
---
 libavcodec/vvc/ctu.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/libavcodec/vvc/ctu.c b/libavcodec/vvc/ctu.c
index 764de25761..60dec67d82 100644
--- a/libavcodec/vvc/ctu.c
+++ b/libavcodec/vvc/ctu.c
@@ -1136,8 +1136,11 @@ static int skipped_transform_tree_unit(VVCLocalContext 
*lc)
     const CodingUnit *cu   = lc->cu;
     int ret;
 
-    if (cu->tree_type != DUAL_TREE_CHROMA)
-        set_qp_y(lc, cu->x0, cu->y0, 0);
+    if (cu->tree_type != DUAL_TREE_CHROMA) {
+        ret = set_qp_y(lc, cu->x0, cu->y0, 0);
+        if (ret < 0)
+            return ret;
+    }
     if (rsps->sps_chroma_format_idc && cu->tree_type != DUAL_TREE_LUMA)
         set_qp_c(lc);
     ret = skipped_transform_tree(lc, cu->x0, cu->y0, cu->cb_width, 
cu->cb_height);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to