[MPlayer-cvslog] CVS: main/postproc swscale.c,1.165,1.166

Michael Niedermayer CVS syncmail at mplayerhq.hu
Thu Feb 16 13:55:26 CET 2006


CVS change done by Michael Niedermayer CVS

Update of /cvsroot/mplayer/main/postproc
In directory mail:/var2/tmp/cvs-serv17307

Modified Files:
	swscale.c 
Log Message:
ng the fix for vCCoeffsBank patch by (Alan Curry <pacman TheWorld com>)


Index: swscale.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/swscale.c,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -r1.165 -r1.166
--- swscale.c	11 Feb 2006 14:16:10 -0000	1.165
+++ swscale.c	16 Feb 2006 12:55:23 -0000	1.166
@@ -2113,7 +2113,7 @@
 
 #ifdef HAVE_ALTIVEC
 		c->vYCoeffsBank = memalign (16, sizeof (vector signed short)*c->vLumFilterSize*c->dstH);
-		c->vCCoeffsBank = memalign (16, sizeof (vector signed short)*c->vChrFilterSize*c->dstH);
+		c->vCCoeffsBank = memalign (16, sizeof (vector signed short)*c->vChrFilterSize*c->chrDstH);
 
 		for (i=0;i<c->vLumFilterSize*c->dstH;i++) {
                   int j;
@@ -2122,7 +2122,7 @@
 		    p[j] = c->vLumFilter[i];
 		}
 
-		for (i=0;i<c->vChrFilterSize*c->dstH;i++) {
+		for (i=0;i<c->vChrFilterSize*c->chrDstH;i++) {
                   int j;
 		  short *p = (short *)&c->vCCoeffsBank[i];
 		  for (j=0;j<8;j++)




More information about the MPlayer-cvslog mailing list