[Mplayer-cvslog] CVS: main/postproc postprocess.c,1.12,1.13

Michael Niedermayer michael at mplayer.dev.hu
Wed Oct 17 04:04:31 CEST 2001


Update of /cvsroot/mplayer/main/postproc
In directory mplayer:/var/tmp.root/cvs-serv28479

Modified Files:
	postprocess.c 
Log Message:
quick fix for movies with a height which is not a multiple of 8


Index: postprocess.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/postprocess.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- postprocess.c	16 Oct 2001 02:31:14 -0000	1.12
+++ postprocess.c	17 Oct 2001 02:04:16 -0000	1.13
@@ -2607,7 +2607,7 @@
 	for(x=0; x<width; x+=BLOCK_SIZE)
 		blockCopy(dst + x, dstStride, src + x, srcStride, 8, mode & LEVEL_FIX);
 
-	for(y=0; y<height; y+=BLOCK_SIZE)
+	for(y=0; y<height-7; y+=BLOCK_SIZE)
 	{
 		//1% speedup if these are here instead of the inner loop
 		uint8_t *srcBlock= &(src[y*srcStride]);




More information about the MPlayer-cvslog mailing list