aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-05-18 16:50:55 -0300
committerJames Almer <jamrial@gmail.com>2024-05-22 17:46:49 -0300
commit3bd7e3a336822c75865930f7fafb36d1a1c4c3c3 (patch)
treefd5c06acf8e6e35af71dbddf0f19ce3ee8f2518b /libavformat
parent910d281b215720dc831486aba36e31528b30b6bc (diff)
downloadffmpeg-3bd7e3a336822c75865930f7fafb36d1a1c4c3c3.tar.gz
avformat/vvc: initialize some ptl flags
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/vvc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/vvc.c b/libavformat/vvc.c
index 449c933881..34c0aaf58b 100644
--- a/libavformat/vvc.c
+++ b/libavformat/vvc.c
@@ -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)