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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new f6bb0a3363 lavc/vvc: Check return code of ff_vvc_cabac_init
f6bb0a3363 is described below

commit f6bb0a336394f52e93cf55445b189a7bb2487246
Author:     Frank Plowman <[email protected]>
AuthorDate: Sat Sep 12 12:52:30 2026 +0100
Commit:     Frank Plowman <[email protected]>
CommitDate: Sun Oct 4 20:23:36 2026 +0100

    lavc/vvc: Check return code of ff_vvc_cabac_init
    
    Signed-off-by: Frank Plowman <[email protected]>
---
 libavcodec/vvc/ctu.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavcodec/vvc/ctu.c b/libavcodec/vvc/ctu.c
index e50ac592bd..56b92ff37a 100644
--- a/libavcodec/vvc/ctu.c
+++ b/libavcodec/vvc/ctu.c
@@ -2826,7 +2826,9 @@ int ff_vvc_coding_tree_unit(VVCLocalContext *lc,
     lc->coeffs = fc->tab.coeffs + rs * ctb_size * VVC_MAX_SAMPLE_ARRAYS;
     lc->cu     = NULL;
 
-    ff_vvc_cabac_init(lc, ctu_idx, rx, ry);
+    ret = ff_vvc_cabac_init(lc, ctu_idx, rx, ry);
+    if (ret < 0)
+        return ret;
     ff_vvc_decode_neighbour(lc, x_ctb, y_ctb, rx, ry, rs);
     ret = hls_coding_tree_unit(lc, x_ctb, y_ctb, ctu_idx, rx, ry);
     if (ret < 0)

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