This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 5f13df1b518203036c9c3436a64eb70c8d409e7c
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sun Jun 14 21:35:25 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sun Jun 14 21:08:21 2026 +0000

    avfilter/avf_showcwt: fix DIRECTION_RL EOF fill clearing the wrong columns
    
    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 f2cf304ef1..4187aa3bb6 100644
--- a/libavfilter/avf_showcwt.c
+++ b/libavfilter/avf_showcwt.c
@@ -1141,7 +1141,7 @@ static int output_frame(AVFilterContext *ctx)
         case DIRECTION_RL:
             for (int p = 0; p < nb_planes; p++) {
                 ptrdiff_t linesize = s->outpicref->linesize[p];
-                const int size = s->w - s->pos;
+                const int size = FFMIN(s->pos + 1, s->sono_size);
                 const int fill = p > 0 && p < 3 ? 128 : 0;
 
                 for (int y = 0; y < s->h; y++) {

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to