]> granicus.if.org Git - libvpx/commitdiff
idct_dequant_0_2x_neon: quiet uninit var warnings
authorJames Zern <jzern@google.com>
Fri, 26 Jun 2015 03:27:50 +0000 (20:27 -0700)
committerJames Zern <jzern@google.com>
Fri, 26 Jun 2015 03:29:35 +0000 (20:29 -0700)
the vector used in vld*_lane_* should be initialized before use

Change-Id: I6b791088479fec3bc021ca75cc2af5adcc39d954

vp8/common/arm/neon/idct_dequant_0_2x_neon.c

index 967c322804ff49be9c4e61c55d242bf2ce4ade45..e6f862fa8988fd354e10bd495132801e03b1501f 100644 (file)
@@ -18,7 +18,8 @@ void idct_dequant_0_2x_neon(
     unsigned char *dst0;
     int i, a0, a1;
     int16x8x2_t q2Add;
-    int32x2_t d2s32, d4s32;
+    int32x2_t d2s32 = vdup_n_s32(0),
+              d4s32 = vdup_n_s32(0);
     uint8x8_t d2u8, d4u8;
     uint16x8_t q1u16, q2u16;