[Mplayer-cvslog] CVS: main/postproc postprocess.c,1.9,1.10

Arpi of Ize arpi at mplayer.dev.hu
Sun Oct 14 19:11:28 CEST 2001


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

Modified Files:
	postprocess.c 
Log Message:
c++ fix

Index: postprocess.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/postprocess.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- postprocess.c	13 Oct 2001 15:53:24 -0000	1.9
+++ postprocess.c	14 Oct 2001 17:11:17 -0000	1.10
@@ -1533,6 +1533,8 @@
 	int y;
 	for(y=0; y<BLOCK_SIZE; y++)
 	{
+		const int middleEnergy= 5*(src[4] - src[5]) + 2*(src[2] - src[5]);
+
 		dst[0] = src[0];
 		dst[1] = src[1];
 		dst[2] = src[2];
@@ -1542,7 +1544,6 @@
 		dst[6] = src[6];
 		dst[7] = src[7];
 
-		const int middleEnergy= 5*(src[4] - src[5]) + 2*(src[2] - src[5]);
 		if(ABS(middleEnergy) < 8*QP)
 		{
 			const int q=(src[3] - src[4])/2;




More information about the MPlayer-cvslog mailing list