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 0cf9169c85 avcodec/cbs_h266_syntax_template: reject subpic info with 
res_change_in_clvs
0cf9169c85 is described below

commit 0cf9169c85aae8d7ca2abb25d525a91479fded67
Author:     James Almer <[email protected]>
AuthorDate: Mon Jun 8 20:03:15 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sat Jun 13 15:57:19 2026 +0000

    avcodec/cbs_h266_syntax_template: reject subpic info with res_change_in_clvs
    
    Found-by: Anthony Hurtado
    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 eda724bcaa..92602ebf23 100644
--- a/libavcodec/cbs_h266_syntax_template.c
+++ b/libavcodec/cbs_h266_syntax_template.c
@@ -1133,7 +1133,7 @@ static int FUNC(sps)(CodedBitstreamContext *ctx, 
RWContext *rw,
     max_width_minus1  = tmp_width_val - 1;
     max_height_minus1 = tmp_height_val - 1;
 
-    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