aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/ppc/swscale_altivec.c
diff options
context:
space:
mode:
authorLauri Kasanen <cand@gmx.com>2019-03-18 13:19:22 +0200
committerLauri Kasanen <cand@gmx.com>2019-03-20 10:21:53 +0200
commitac3062f1a4e7c3fb6e423bc4d4896b6bb12846c3 (patch)
tree8ba7f51cc5088bc1c1908882ff3a1dd7d1dcc311 /libswscale/ppc/swscale_altivec.c
parent0739d5cd5c925a157ab210e4424f82d98349528d (diff)
downloadffmpeg-ac3062f1a4e7c3fb6e423bc4d4896b6bb12846c3.tar.gz
swscale/ppc: Clean up some mixed decl warnings
Diffstat (limited to 'libswscale/ppc/swscale_altivec.c')
-rw-r--r--libswscale/ppc/swscale_altivec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/ppc/swscale_altivec.c b/libswscale/ppc/swscale_altivec.c
index d72ed1e0f9..3cd9782da4 100644
--- a/libswscale/ppc/swscale_altivec.c
+++ b/libswscale/ppc/swscale_altivec.c
@@ -43,10 +43,10 @@
#define yuv2planeX_8(d1, d2, l1, src, x, perm, filter) do {\
vector signed short ls;\
+ vector signed int vf1, vf2, i1, i2;\
GET_LS(l1, x, perm, src);\
- vector signed int i1 = vec_mule(filter, ls);\
- vector signed int i2 = vec_mulo(filter, ls);\
- vector signed int vf1, vf2;\
+ i1 = vec_mule(filter, ls);\
+ i2 = vec_mulo(filter, ls);\
vf1 = vec_mergeh(i1, i2);\
vf2 = vec_mergel(i1, i2);\
d1 = vec_add(d1, vf1);\