# HG changeset patch # User henry # Date 1165863052 0 # Node ID 9345eb2d8c8ffd1cd10f531cd5fbdd4dc7ebc471 # Parent 6093e7cede5a785ab56bc29e0d71dfeac288fccc count needs to be even diff -r 6093e7cede5a -r 9345eb2d8c8f libmpcodecs/vf_fspp.c --- a/libmpcodecs/vf_fspp.c Mon Dec 11 14:53:40 2006 +0000 +++ b/libmpcodecs/vf_fspp.c Mon Dec 11 18:50:52 2006 +0000 @@ -463,7 +463,7 @@ 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) {