avformat/vvc: initialize some ptl flags

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
James Almer 2024-05-18 16:50:55 -03:00 committed by Paul B Mahol
parent 570f3c2526
commit 029500ce24
2 changed files with 3 additions and 1 deletions

View File

@ -565,6 +565,8 @@ static void vvcc_init(VVCDecoderConfigurationRecord *vvcc)
{
memset(vvcc, 0, sizeof(VVCDecoderConfigurationRecord));
vvcc->lengthSizeMinusOne = 3; // 4 bytes
vvcc->ptl.ptl_frame_only_constraint_flag =
vvcc->ptl.ptl_multilayer_enabled_flag = 1;
}
static void vvcc_close(VVCDecoderConfigurationRecord *vvcc)

View File

@ -1,3 +1,3 @@
30b856d289220b477b5a0935f60aa793 *tests/data/lavf-fate/lavf.vvc.mp4
b5d5939890d3246475f990e5ebd58dc8 *tests/data/lavf-fate/lavf.vvc.mp4
16625 tests/data/lavf-fate/lavf.vvc.mp4
tests/data/lavf-fate/lavf.vvc.mp4 CRC=0x895790b1