avfilter/aarch64/vf_bwdif_init: Fix stride bound check

Fix stride condition when bounding w.

Signed-off-by: Hao Chen <haochenc@google.com>
This commit is contained in:
Hao Chen authored and Martin Storsjö committed 2026-08-19 20:06:22 +00:00
1 parent e1e325235e
commit d9ed77cb52
1 file changed
+1 -1
+1 -1
View File
@@ -52,7 +52,7 @@ static void filter_line3_helper(void * dst1, int d_stride,
// having to invoke the C version to clean up the tail.
const int w1 = FFALIGN(w, 16);
const int w0 = clip_max != 255 ? 0 :
d_stride <= w1 && s_stride <= w1 ? w : w & ~15;
d_stride >= w1 && s_stride >= w1 ? w : w & ~15;
ff_bwdif_filter_line3_neon(dst1, d_stride,
prev1, cur1, next1, s_stride,