aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
diff options
context:
space:
mode:
authorGravatar henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-11 18:50:52 +0000
committerGravatar henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-11 18:50:52 +0000
commite0ea1f7c69900f7aacc41033d567269e2084d047 (patch)
tree45d5a55ad738ea22a80c366f8ba25aab4497229a /libmpcodecs
parentf9186752ecbffbd50164ae37e94458c07cacf1b1 (diff)
count needs to be even
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21594 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_fspp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vf_fspp.c b/libmpcodecs/vf_fspp.c
index 4e328ea36e..541dfb6564 100644
--- a/libmpcodecs/vf_fspp.c
+++ b/libmpcodecs/vf_fspp.c
@@ -463,7 +463,7 @@ static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src,
es=width+8-x0; // 8, ...
if (es>8)
row_fdct_s(block+8*8, p->src + y*stride+8+x0 +2-(y&1), stride, (es-4)>>2);
- column_fidct_s((int16_t*)(&p->threshold_mtx[0]), block, block3, es-0);
+ column_fidct_s((int16_t*)(&p->threshold_mtx[0]), block, block3, es&(~1));
row_idct_s(block3+0*8, p->temp + (y&15)*stride+x0+2-(y&1), stride, es>>2);
{const int y1=y-8+step;//l5-7 l4-6
if (!(y1&7) && y1) {