diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-02-16 12:55:23 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-02-16 12:55:23 +0000 |
commit | ed85b5663846e3092897bbdb38136645b7af74e9 (patch) | |
tree | 29735be8816f08a13818e145ddbb6aca95f9ef10 /postproc/swscale.c | |
parent | c4da13ec528c26e09f77a1315009a8551b555e04 (diff) |
ng the fix for vCCoeffsBank patch by (Alan Curry <pacman TheWorld com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17633 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/swscale.c')
-rw-r--r-- | postproc/swscale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c index 6f9c203a2a..11f774d99a 100644 --- a/postproc/swscale.c +++ b/postproc/swscale.c @@ -2113,7 +2113,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int origSrcFormat, int dstW, int #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 @@ SwsContext *sws_getContext(int srcW, int srcH, int origSrcFormat, int dstW, int 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++) |