ffmpeg | branch: release/7.0 | James Almer <[email protected]> | Sat May 18 
16:50:55 2024 -0300| [1a6995c6d687666eefbedaaf040eeec5c754664f] | committer: 
James Almer

avformat/vvc: initialize some ptl flags

Signed-off-by: James Almer <[email protected]>
(cherry picked from commit 3bd7e3a336822c75865930f7fafb36d1a1c4c3c3)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1a6995c6d687666eefbedaaf040eeec5c754664f
---

 libavformat/vvc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/vvc.c b/libavformat/vvc.c
index b1b519c92c..20be4bd8b8 100644
--- a/libavformat/vvc.c
+++ b/libavformat/vvc.c
@@ -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)

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to