changeset 20006:bdd8965d6e48

Remove unused variables.
author diego
date Sun, 01 Oct 2006 14:17:45 +0000
parents 447e41fbcb4e
children 1699b4b6707e
files libswscale/swscale_altivec_template.c libswscale/yuv2rgb_altivec.c
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale_altivec_template.c	Sun Oct 01 09:33:23 2006 +0000
+++ b/libswscale/swscale_altivec_template.c	Sun Oct 01 14:17:45 2006 +0000
@@ -231,7 +231,6 @@
   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);
--- a/libswscale/yuv2rgb_altivec.c	Sun Oct 01 09:33:23 2006 +0000
+++ b/libswscale/yuv2rgb_altivec.c	Sun Oct 01 14:17:45 2006 +0000
@@ -625,7 +625,6 @@
   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 @@
 		       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);