1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

avformat/vvc: initialize some ptl flags

Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 3bd7e3a336822c75865930f7fafb36d1a1c4c3c3)
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)); memset(vvcc, 0, sizeof(VVCDecoderConfigurationRecord));
vvcc->lengthSizeMinusOne = 3; // 4 bytes 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) static void vvcc_close(VVCDecoderConfigurationRecord *vvcc)