This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/4.4 in repository ffmpeg.
commit 2f9f0fd5bcd545e3a902d532a168b8b06a8b3571 Author: Michael Niedermayer <[email protected]> AuthorDate: Sun Jun 21 17:48:51 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Jun 21 17:59:33 2026 +0200 avcodec/hevc/hevcdec: initialize qp_y_tab Fixes: use of uninitialized value Backported to 4.4's monolithic hevcdec.c. (cherry picked from commit 4fc43e45f9e7ee50d8d244bcdea15b37b5614b9b) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/hevcdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c index 273eecca5b..4ee6e62413 100644 --- a/libavcodec/hevcdec.c +++ b/libavcodec/hevcdec.c @@ -117,7 +117,7 @@ static int pic_arrays_init(HEVCContext *s, const HEVCSPS *sps) s->filter_slice_edges = av_mallocz(ctb_count); s->tab_slice_address = av_malloc_array(pic_size_in_ctb, sizeof(*s->tab_slice_address)); - s->qp_y_tab = av_malloc_array(pic_size_in_ctb, + s->qp_y_tab = av_calloc(pic_size_in_ctb, sizeof(*s->qp_y_tab)); if (!s->qp_y_tab || !s->filter_slice_edges || !s->tab_slice_address) goto fail; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
