summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libswscale/swscale_altivec_template.c1
-rw-r--r--libswscale/yuv2rgb_altivec.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/libswscale/swscale_altivec_template.c b/libswscale/swscale_altivec_template.c
index 8eb7dc8448..1cedcce9b5 100644
--- a/libswscale/swscale_altivec_template.c
+++ b/libswscale/swscale_altivec_template.c
@@ -231,7 +231,6 @@ static inline void hScale_altivec_real(int16_t *dst, int dstW, uint8_t *src, int
case 4:
{
for(i=0; i<dstW; i++) {
- register int j;
register int srcPos = filterPos[i];
vector unsigned char src_v0 = vec_ld(srcPos, src);
diff --git a/libswscale/yuv2rgb_altivec.c b/libswscale/yuv2rgb_altivec.c
index 441d7c45ce..c2bfab13a0 100644
--- a/libswscale/yuv2rgb_altivec.c
+++ b/libswscale/yuv2rgb_altivec.c
@@ -625,7 +625,6 @@ static int altivec_uyvy_rgb32 (SwsContext *c,
int i,j;
vector unsigned char uyvy;
vector signed short Y,U,V;
- vector signed short vx,ux,uvx;
vector signed short R0,G0,B0,R1,G1,B1;
vector unsigned char R,G,B;
vector unsigned char *out;
@@ -790,11 +789,10 @@ altivec_yuv2packedX (SwsContext *c,
uint8_t *dest, int dstW, int dstY)
{
int i,j;
- short *f;
vector signed short X,X0,X1,Y0,U0,V0,Y1,U1,V1,U,V;
vector signed short R0,G0,B0,R1,G1,B1;
- vector unsigned char R,G,B,pels[3];
+ vector unsigned char R,G,B;
vector unsigned char *out,*nout;
vector signed short RND = vec_splat_s16(1<<3);