Mercurial > mplayer.hg
changeset 25568:707b810a2558
fix artifacts in -vf fspp. regression in r23476.
author | lorenm |
---|---|
date | Sat, 05 Jan 2008 10:42:39 +0000 |
parents | ca62d466a9fc |
children | 1ab8dade208c |
files | libmpcodecs/vf_fspp.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_fspp.c Sat Jan 05 01:40:36 2008 +0000 +++ b/libmpcodecs/vf_fspp.c Sat Jan 05 10:42:39 2008 +0000 @@ -457,8 +457,8 @@ column_fidct_s((int16_t*)(&p->threshold_mtx[0]), block+x*8, block3+x*8, 8); //yes, this is a HOTSPOT } row_idct_s(block3+0*8, p->temp + (y&15)*stride+x0+2-(y&1), stride, 2*(BLOCKSZ-1)); - memcpy(block, block+(BLOCKSZ-1)*64, 8*8*sizeof(DCTELEM)); //cycling - memcpy(block3, block3+(BLOCKSZ-1)*64, 6*8*sizeof(DCTELEM)); + memmove(block, block+(BLOCKSZ-1)*64, 8*8*sizeof(DCTELEM)); //cycling + memmove(block3, block3+(BLOCKSZ-1)*64, 6*8*sizeof(DCTELEM)); } // es=width+8-x0; // 8, ...