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

Git pushed a commit to branch master
in repository ffmpeg.

commit 953efc9f56573db8ad819c5f7e89dbe9b17b2b60
Author:     Ramiro Polla <[email protected]>
AuthorDate: Thu Mar 5 21:03:27 2026 +0100
Commit:     Ramiro Polla <[email protected]>
CommitDate: Wed Mar 11 08:05:08 2026 +0000

    swscale/tests/swscale: remove hardcoded dimension checks
    
    Remove dimension checks originally added to please static analysis
    tools. There is little reason to have arbitrary limits in this
    developer test tool. The reference files are under control by the user.
    
    This reverts f70a651b3f7 and c0f0bec2f20.
---
 libswscale/tests/swscale.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c
index d85dcda726..1054aa2479 100644
--- a/libswscale/tests/swscale.c
+++ b/libswscale/tests/swscale.c
@@ -500,7 +500,7 @@ static int run_file_tests(const AVFrame *ref, FILE *fp, 
struct options opts)
         src_fmt = av_get_pix_fmt(src_fmt_str);
         dst_fmt = av_get_pix_fmt(dst_fmt_str);
         if (src_fmt == AV_PIX_FMT_NONE || dst_fmt == AV_PIX_FMT_NONE ||
-            sw != ref->width || sh != ref->height || dw > 8192 || dh > 8192 ||
+            sw != ref->width || sh != ref->height ||
             mode.dither >= SWS_DITHER_NB) {
             av_log(NULL, AV_LOG_FATAL, "malformed input file\n");
             return -1;

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

Reply via email to