[x264-devel] [PATCH] ppc: Fix zigzag_interleave
Luca Barbato
lu_zero at gentoo.org
Sat Jun 23 13:14:28 CEST 2018
The permv array has 3 elements
---
Spotted by clang-6
common/ppc/dct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/ppc/dct.c b/common/ppc/dct.c
index 491a0211..9956e699 100644
--- a/common/ppc/dct.c
+++ b/common/ppc/dct.c
@@ -641,7 +641,7 @@ void x264_zigzag_interleave_8x8_cavlc_altivec( int16_t *dst, int16_t *src, uint8
{
vec_s16_t tmpv[8];
vec_s16_t merge[2];
- vec_s16_t permv[2];
+ vec_s16_t permv[3];
vec_s16_t orv[4];
vec_s16_t src0v = vec_ld( 0*16, src );
vec_s16_t src1v = vec_ld( 1*16, src );
--
2.12.2
More information about the x264-devel
mailing list