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 7b3a138cb291b3c027368c6ce1d8a1445f51b6f4 Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Oct 19 22:08:13 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 21:19:57 2026 +0100 avcodec/rw2dec: release a hwaccel picture left over by a failed frame A failing hwaccel call returned with the picture still allocated and the next frame failed the assertion in ff_hwaccel_frame_priv_alloc(). Release the picture before allocating the next one, as proresdec does. Not replicated, no hwaccel exists for rw2 yet. Fixes: 233BfozgW6QZ Found during triage/review of the security report AISLE-2026-R0043 (cherry picked from commit 21ae927dc6fd9b7cf8be3b54d620c1f707c83095) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/rw2dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/rw2dec.c b/libavcodec/rw2dec.c index 86dc6d95de..529daa1339 100644 --- a/libavcodec/rw2dec.c +++ b/libavcodec/rw2dec.c @@ -519,6 +519,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *frame, s->frame = frame; + av_refstruct_unref(&s->hwaccel_picture_private); ret = ff_hwaccel_frame_priv_alloc(avctx, &s->hwaccel_picture_private); if (ret < 0) return ret; -- 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]
