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 6e5d93b466c86939b9bfe15beb7d9442e270e3d6
Author:     Frank Plowman <[email protected]>
AuthorDate: Sun Feb 23 12:04:48 2025 +0000
Commit:     Frank Plowman <[email protected]>
CommitDate: Wed Jun 10 15:12:22 2026 +0100

    lavc/vvc: Fix pps_single_slice_picture
    
    Signed-off-by: Frank Plowman <[email protected]>
    (cherry picked from commit 600ad36949a70c0187aa671469ebd81212528d61)
---
 libavcodec/vvc/ps.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/vvc/ps.c b/libavcodec/vvc/ps.c
index 01b4d69ceb..7ed54344c0 100644
--- a/libavcodec/vvc/ps.c
+++ b/libavcodec/vvc/ps.c
@@ -368,9 +368,10 @@ static int pps_add_ctus(VVCPPS *pps, int *off, const int 
rx, const int ry,
 
 static void pps_single_slice_picture(VVCPPS *pps, int *off)
 {
+    pps->num_ctus_in_slice[0] = 0;
     for (int j = 0; j < pps->r->num_tile_rows; j++) {
         for (int i = 0; i < pps->r->num_tile_columns; i++) {
-            pps->num_ctus_in_slice[0] = pps_add_ctus(pps, off,
+            pps->num_ctus_in_slice[0] += pps_add_ctus(pps, off,
                 pps->col_bd[i], pps->row_bd[j],
                 pps->r->col_width_val[i], pps->r->row_height_val[j]);
         }

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

Reply via email to