[x264-devel] [PATCH 2/2] ppc: Properly initialize vectors in sad_x4_8x#

Michail Alvanos malvanos at gmail.com
Thu Aug 15 06:58:58 CEST 2019


---
 common/ppc/pixel.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/ppc/pixel.c b/common/ppc/pixel.c
index f94029e3..abcfa41b 100644
--- a/common/ppc/pixel.c
+++ b/common/ppc/pixel.c
@@ -981,6 +981,7 @@ static int name( uint8_t *fenc,
     sum0v = vec_splat_s32( 0 );                                                       \
     sum1v = vec_splat_s32( 0 );                                                       \
     sum2v = vec_splat_s32( 0 );                                                       \
+    sum3v = vec_splat_s32( 0 );                                                       \
                                                                                       \
     for( int y = 0; y < ly; y++ )                                                     \
     {                                                                                 \
-- 
2.17.1



More information about the x264-devel mailing list