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 f4df97c55b1ec98b469b5ca0680b993ea76a3bed
Author:     Gil Portnoy <[email protected]>
AuthorDate: Wed Mar 11 04:00:15 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Mon May 4 15:57:20 2026 +0200

    avcodec/cbs_h266_syntax_template: Fix rows vs columns
    
    Fixes: out of array access
    Fixes: vvc_poc_cbs_divergence_max.h266
    
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 51606de0e92867b62abef42509de38181aa25b3e)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 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 7ed11ff11c..f2a28fb39a 100644
--- a/libavcodec/cbs_h266_syntax_template.c
+++ b/libavcodec/cbs_h266_syntax_template.c
@@ -3454,7 +3454,7 @@ static int FUNC(slice_header) (CodedBitstreamContext 
*ctx, RWContext *rw,
                  tile_idx <=
                  current->sh_slice_address +
                  current->sh_num_tiles_in_slice_minus1; tile_idx++) {
-                tile_y = tile_idx / pps->num_tile_rows;
+                tile_y = tile_idx / pps->num_tile_columns;
                 height = pps->row_height_val[tile_y];
                 current->num_entry_points += (entropy_sync ? height : 1);
             }

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

Reply via email to