swscale/ppc: fix LOAD_FILTER overread in VSX path

Part of the yuv2planeX ASAN fix - replace vec_vsx_ld with vec_splats
to avoid reading past the filter array.

Signed-off-by: Scott Boudreaux <scott@elyanlabs.com>
This commit is contained in:
Scott Boudreaux
2026-03-18 18:28:22 +00:00
committed by michaelni
parent d4673a97ac
commit dddc703cc1

View File

@@ -54,7 +54,7 @@
} while (0)
#define LOAD_FILTER(vf,f) {\
vf = vec_vsx_ld(joffset, f);\
vf = vec_splats(f[j]);\
}
#define LOAD_L1(ll1,s,p){\
ll1 = vec_vsx_ld(xoffset, s);\