changeset 11281:47b69dcf384d

120l
author michael
date Mon, 27 Oct 2003 00:14:33 +0000
parents b677102fa650
children 119703388a95
files libmpcodecs/vf_spp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_spp.c	Sun Oct 26 23:35:46 2003 +0000
+++ b/libmpcodecs/vf_spp.c	Mon Oct 27 00:14:33 2003 +0000
@@ -128,7 +128,7 @@
 	int x, y, i;
 	const int count= 1<<p->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 @@
 	}
 	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)