[x264-devel] ppc: Fix zigzag_interleave

Luca Barbato git at videolan.org
Tue Aug 7 00:05:21 CEST 2018


x264 | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sat Jun 23 13:14:28 2018 +0200| [f5d929ab8faf2319dda10836f51803ba25f0ad07] | committer: Henrik Gramner

ppc: Fix zigzag_interleave

The permv array has 3 elements

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=f5d929ab8faf2319dda10836f51803ba25f0ad07
---

 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 );



More information about the x264-devel mailing list