From 162cbf984325a5c79cd6051e201e656c9308cffc Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 27 Oct 2003 00:14:33 +0000 Subject: 120l git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11282 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_spp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpcodecs/vf_spp.c b/libmpcodecs/vf_spp.c index a863e6ea92..5ccabd3d25 100644 --- a/libmpcodecs/vf_spp.c +++ b/libmpcodecs/vf_spp.c @@ -128,7 +128,7 @@ static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stri int x, y, i; const int count= 1<log2_count; const int log2_scale= 6-p->log2_count; - const int stride= p->temp_stride; + const int stride= p->temp_stride; //FIXME uint64_t block_align[32]; DCTELEM *block = (DCTELEM *)block_align; DCTELEM *block2= (DCTELEM *)(block_align+16); @@ -144,7 +144,7 @@ static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stri } for(y=0; y<8; y++){ memcpy(p->src + ( 7-y)*stride, p->src + ( y+8)*stride, stride); - memcpy(p->src + (width+8+y)*stride, p->src + (width-y+7)*stride, stride); + memcpy(p->src + (height+8+y)*stride, p->src + (height-y+7)*stride, stride); } //FIXME (try edge emu) -- cgit v1.2.3