This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 0d0eadd8edcccdd3cc1114ea81794321b3e59d76 Author: jiale yao <[email protected]> AuthorDate: Fri Jun 12 19:27:35 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sun Jun 14 21:08:21 2026 +0000 avfilter/avf_showcwt: fix DIRECTION_DU EOF fill clearing the wrong rows Fixes: out of array read 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 ad1b6a179a..13c370951a 100644 --- a/libavfilter/avf_showcwt.c +++ b/libavfilter/avf_showcwt.c @@ -1167,7 +1167,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]
