This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new f8e39f6c73 avcodec/hevc/ps: add missing check for profile tier level
count
f8e39f6c73 is described below
commit f8e39f6c7399166da157a4bee46194274b821ca3
Author: James Almer <[email protected]>
AuthorDate: Fri Jan 16 11:32:45 2026 -0300
Commit: James Almer <[email protected]>
CommitDate: Sat Jan 17 12:37:47 2026 -0300
avcodec/hevc/ps: add missing check for profile tier level count
Fixes issue #21488.
Signed-off-by: James Almer <[email protected]>
---
libavcodec/hevc/ps.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/hevc/ps.c b/libavcodec/hevc/ps.c
index 7b9dbbcff8..9f7a61e794 100644
--- a/libavcodec/hevc/ps.c
+++ b/libavcodec/hevc/ps.c
@@ -666,6 +666,7 @@ static int decode_vps_ext(GetBitContext *gb, AVCodecContext
*avctx, HEVCVPS *vps
if (vps->vps_num_layer_sets == 1 || default_output_layer_idc == 2)
skip_bits1(gb);
+ if (nb_ptl > 1)
for (int j = 0; j < av_popcount64(vps->ols[1]); j++) {
int ptl_idx = get_bits(gb, av_ceil_log2(nb_ptl));
if (ptl_idx >= nb_ptl) {
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]