1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00

avformat/vvc: initialize some ptl flags

Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 3bd7e3a336)
This commit is contained in:
James Almer 2024-05-18 16:50:55 -03:00
parent a49a8dc0d6
commit 1a6995c6d6

View File

@ -586,6 +586,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)