This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit 25426265d479bdbd26593e5e7a8fb8db17d95fd8 Author: Michael Niedermayer <[email protected]> AuthorDate: Sun Nov 15 02:12:57 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Nov 19 14:55:43 2026 +0100 avcodec/hevc: remove duplicate VPS release from set_sps() 82b7a19f4a1 and 8540c00f1bd fixed the same bug, each adding its own av_refstruct_unref(&s->vps). The one from 8540c00f1bd runs before pic_arrays_init() and so drops the active VPS when that fails for a non-base layer, the next base layer frame then dereferences the NULL VPS in ff_hevc_is_alpha_video(). Fixes: NULL pointer dereference Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit db102ab6d49ad576a61f395b900d39706933022f) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/hevc/hevcdec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c index f1bd562291..38df50caeb 100644 --- a/libavcodec/hevc/hevcdec.c +++ b/libavcodec/hevc/hevcdec.c @@ -768,8 +768,6 @@ static int set_sps(HEVCContext *s, HEVCLayerContext *l, const HEVCSPS *sps) if (!sps) return 0; - av_refstruct_unref(&s->vps); - ret = pic_arrays_init(l, sps); if (ret < 0) goto fail; -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
