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

Git pushed a commit to branch master
in repository ffmpeg.

commit e7ffc5703914481084ad9b8d2f44e6908e5f9802
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Mon Sep 28 17:28:16 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sun Oct 11 00:45:42 2026 +0000

    avfilter/vf_libopencv: do not count the newline into the width of the 
following line
    
    Fixes: structuring element one column too wide
    Found during review of the read_shape_from_file() fixes
---
 libavfilter/vf_libopencv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_libopencv.c b/libavfilter/vf_libopencv.c
index e9b5cdc7d0..ecc0edde9e 100644
--- a/libavfilter/vf_libopencv.c
+++ b/libavfilter/vf_libopencv.c
@@ -155,8 +155,8 @@ static int read_shape_from_file(int *cols, int *rows, int 
**values, const char *
             av_log(log_ctx, AV_LOG_ERROR, "Overflow on the number of columns 
in the file\n");
             ret = AVERROR_INVALIDDATA;
             goto end;
-        }
-        w++;
+        } else
+            w++;
     }
     if (*cols == 0) {
         av_log(log_ctx, AV_LOG_ERROR, "No columns in the shape file\n");

-- 
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]

Reply via email to