Mercurial > mplayer.hg
changeset 21578:9345eb2d8c8f
count needs to be even
author | henry |
---|---|
date | Mon, 11 Dec 2006 18:50:52 +0000 |
parents | 6093e7cede5a |
children | 034ba9cabe17 |
files | libmpcodecs/vf_fspp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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) {