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

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

commit bc74f7a6fa9342dc8d375f1e9e5886f37a340d71
Author:     James Almer <[email protected]>
AuthorDate: Mon Jun 8 20:03:15 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Jun 14 20:01:25 2026 +0200

    avcodec/cbs_h266_syntax_template: reject subpic info with res_change_in_clvs
    
    Found-by: Anthony Hurtado
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 0cf9169c85aae8d7ca2abb25d525a91479fded67)
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 2859534720bf9d8377129aedf880eb3750ede467)
---
 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 560abdf338..e1ca4e9f81 100644
--- a/libavcodec/cbs_h266_syntax_template.c
+++ b/libavcodec/cbs_h266_syntax_template.c
@@ -1128,7 +1128,7 @@ static int FUNC(sps)(CodedBitstreamContext *ctx, 
RWContext *rw,
     tmp_height_val = 
AV_CEIL_RSHIFT(current->sps_pic_height_max_in_luma_samples,
                     ctb_log2_size_y);
 
-    flag(sps_subpic_info_present_flag);
+    u(1, sps_subpic_info_present_flag, 0, 
!current->sps_res_change_in_clvs_allowed_flag);
     if (current->sps_subpic_info_present_flag) {
         ue(sps_num_subpics_minus1, 0, VVC_MAX_SLICES - 1);
         if (current->sps_num_subpics_minus1 > 0) {

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

Reply via email to