mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-28 10:04:37 +08:00
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:
1 parent
e1e325235e
commit
d9ed77cb52
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user