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

Git pushed a commit to branch master
in repository ffmpeg.

commit 376e9bb3f69d55814861208126638113da4cf001
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Oct 13 01:20:15 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Tue Oct 13 02:29:51 2026 +0000

    avformat/vvc: Infer vps_default_ptl_dpb_hrd_max_tid_flag as 1 when absent
    
    H.266 7.4.3.3 infers it as 1. With 0, vps_ptl_max_tid was read from the
    following bits and the profile, tier and level of the VPS were misread.
    
    Fixes: wrong vvcC profile and level
    Wrong vvcC profile and level Replicated through UnModified FFmpeg with a 
VPS with 2 layers and 1 sublayer
---
 libavformat/vvc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/vvc.c b/libavformat/vvc.c
index b293ff46de..cd5ed1b410 100644
--- a/libavformat/vvc.c
+++ b/libavformat/vvc.c
@@ -260,7 +260,7 @@ static int vvcc_parse_vps(GetBitContext *gb,
     if (vps_max_layers_minus1 > 0 && vps_max_sublayers_minus1 > 0)
         vps_default_ptl_dpb_hrd_max_tid_flag = get_bits1(gb);
     else
-        vps_default_ptl_dpb_hrd_max_tid_flag = 0;
+        vps_default_ptl_dpb_hrd_max_tid_flag = 1;
     if (vps_max_layers_minus1 > 0)
         vps_all_independent_layers_flag = get_bits1(gb);
     else

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to