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 920871999a061538350011a2ec1694650ffaef54
Author:     Frank Plowman <[email protected]>
AuthorDate: Sun Mar 2 12:12:38 2025 +0000
Commit:     Frank Plowman <[email protected]>
CommitDate: Wed Jun 10 15:12:24 2026 +0100

    lavc/vvc: Stricter bound on pps_exp_slice_height_in_ctus_minus1
    
    When pps_num_exp_slices_in_tile[i] is nonzero, the ith tile is made up
    of pps_num_exp_slices_in_tile[i] slices stacked atop one another, where
    the height of the jth slice in the ith tile is given by
    pps_exp_slice_height_in_ctus_minus1[i][j].  The sum of the heights of
    the slices in the tile should not exceed the height of the tile itself.
    
    Signed-off-by: Frank Plowman <[email protected]>
    
    (cherry-picked from commit 20a6eb1ca3439581adf6367bfcc4d72eb2987cd9)
---
 libavcodec/cbs_h266_syntax_template.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/cbs_h266_syntax_template.c 
b/libavcodec/cbs_h266_syntax_template.c
index c7d93aff29..979d2051d6 100644
--- a/libavcodec/cbs_h266_syntax_template.c
+++ b/libavcodec/cbs_h266_syntax_template.c
@@ -2022,7 +2022,7 @@ static int FUNC(pps) (CodedBitstreamContext *ctx, 
RWContext *rw,
                         for (j = 0; j < current->pps_num_exp_slices_in_tile[i];
                              j++) {
                             ues(pps_exp_slice_height_in_ctus_minus1[i][j], 0,
-                                current->row_height_val[tile_y] - 1, 2,
+                                remaining_height_in_ctbs_y - 1, 2,
                                 i, j);
                             slice_height_in_ctus =
                                 current->

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

Reply via email to