This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit af681f61b76ca367f3175276809513a1fe088d2d Author: jiale yao <[email protected]> AuthorDate: Fri Jun 12 19:27:35 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Mon Jun 15 23:57:24 2026 +0200 avfilter/avf_showcwt: fix DIRECTION_DU EOF fill clearing the wrong rows Fixes: out of array read Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 0d0eadd8edcccdd3cc1114ea81794321b3e59d76) Signed-off-by: Michael Niedermayer <[email protected]> --- libavfilter/avf_showcwt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/avf_showcwt.c b/libavfilter/avf_showcwt.c index 6ddeff6753..4187aa3bb6 100644 --- a/libavfilter/avf_showcwt.c +++ b/libavfilter/avf_showcwt.c @@ -1168,7 +1168,7 @@ static int output_frame(AVFilterContext *ctx) ptrdiff_t linesize = s->outpicref->linesize[p]; const int fill = p > 0 && p < 3 ? 128 : 0; - for (int y = s->h - s->pos; y >= 0; y--) { + for (int y = FFMIN(s->pos, s->sono_size - 1); y >= 0; y--) { uint8_t *dst = s->outpicref->data[p] + y * linesize; memset(dst, fill, s->w); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
