aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-09-10 23:23:47 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-09-10 23:23:47 +0000
commit5fe4aad711fe202a5cedd3205e7749f19b3e69cc (patch)
tree829c5a9fb7da6d4a9340aff9d0c990d27799fe1f /libswscale/swscale.c
parentac0ad729810bab712e376c7f2be99be25b2bfa6f (diff)
downloadffmpeg-5fe4aad711fe202a5cedd3205e7749f19b3e69cc.tar.gz
Correct normalization constant for the vertical filter, iam not
completely sure why this was at such incorrect value, but i could not find any problems when it was set correctly. Originally committed as revision 27575 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r--libswscale/swscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 52d235960b..b55d4d21bb 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2434,11 +2434,11 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
1;
initFilter(&c->vLumFilter, &c->vLumFilterPos, &c->vLumFilterSize, c->lumYInc,
- srcH , dstH, filterAlign, (1<<12)-4,
+ srcH , dstH, filterAlign, (1<<12),
(flags&SWS_BICUBLIN) ? (flags|SWS_BICUBIC) : flags,
srcFilter->lumV, dstFilter->lumV, c->param);
initFilter(&c->vChrFilter, &c->vChrFilterPos, &c->vChrFilterSize, c->chrYInc,
- c->chrSrcH, c->chrDstH, filterAlign, (1<<12)-4,
+ c->chrSrcH, c->chrDstH, filterAlign, (1<<12),
(flags&SWS_BICUBLIN) ? (flags|SWS_BILINEAR) : flags,
srcFilter->chrV, dstFilter->chrV, c->param);