[FFmpeg-cvslog] avformat/vvc: initialize some ptl flags

James Almer git at videolan.org
Wed May 22 23:53:27 EEST 2024


ffmpeg | branch: release/7.0 | James Almer <jamrial at gmail.com> | Sat May 18 16:50:55 2024 -0300| [1a6995c6d687666eefbedaaf040eeec5c754664f] | committer: James Almer

avformat/vvc: initialize some ptl flags

Signed-off-by: James Almer <jamrial at gmail.com>
(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)



More information about the ffmpeg-cvslog mailing list