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 439c93e22ece62b4168ee9c2f639c26d556393d5
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Nov 19 14:56:39 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Thu Nov 19 14:56:42 2026 +0100

    Revert "avfilter/vf_libopencv: reject custom shape files without columns"
    
    This reverts commit c1906a1d891ba8750774562f7ff38ce32afd1df8.
    
    The branch already contained bd9ff773062, which this cherry picked a second 
time, duplicating the check.
---
 libavfilter/vf_libopencv.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libavfilter/vf_libopencv.c b/libavfilter/vf_libopencv.c
index 54cd951ceb..018741a9ab 100644
--- a/libavfilter/vf_libopencv.c
+++ b/libavfilter/vf_libopencv.c
@@ -164,11 +164,6 @@ static int read_shape_from_file(int *cols, int *rows, int 
**values, const char *
         ret = AVERROR_INVALIDDATA;
         goto end;
     }
-    if (*cols == 0) {
-        av_log(log_ctx, AV_LOG_ERROR, "No columns in the shape file\n");
-        ret = AVERROR_INVALIDDATA;
-        goto end;
-    }
     if (*rows > (SIZE_MAX / sizeof(int) / *cols)) {
         av_log(log_ctx, AV_LOG_ERROR, "File with size %dx%d is too big\n",
                *rows, *cols);

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