PR #20301 opened by Zhao Zhili (quink)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20301
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20301.patch


>From 618dfcbc25bed20cabd394dcd00a635bac8efb39 Mon Sep 17 00:00:00 2001
From: Zhao Zhili <zhiliz...@tencent.com>
Date: Thu, 21 Aug 2025 16:40:09 +0800
Subject: [PATCH] checkasm/vf_colordetect: test non-aligned width

---
 tests/checkasm/vf_colordetect.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/checkasm/vf_colordetect.c b/tests/checkasm/vf_colordetect.c
index 4979931cd3..28f6989e35 100644
--- a/tests/checkasm/vf_colordetect.c
+++ b/tests/checkasm/vf_colordetect.c
@@ -22,9 +22,9 @@
 #include "libavfilter/vf_colordetect.h"
 #include "libavutil/mem_internal.h"
 
-#define WIDTH  256
+#define WIDTH  540
 #define HEIGHT 16
-#define STRIDE (WIDTH + 32)
+#define STRIDE FFALIGN(WIDTH, 32)
 
 static void check_range_detect(int depth)
 {
-- 
2.49.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to