diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-10-01 14:17:45 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-10-01 14:17:45 +0000 |
commit | 0fe89aca42055d4e0a1aced58ce9fe1f238b7e6d (patch) | |
tree | 8205a351a514077ec5a950630a6961316c0898bc | |
parent | e8f42cc0f522a3a8448e17bfcf08afc8fbb0f891 (diff) | |
download | ffmpeg-0fe89aca42055d4e0a1aced58ce9fe1f238b7e6d.tar.gz |
Remove unused variables.
Originally committed as revision 20012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/swscale_altivec_template.c | 1 | ||||
-rw-r--r-- | libswscale/yuv2rgb_altivec.c | 4 |
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); |