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

Michael Niedermayer michael at mplayer.dev.hu
Fri Oct 19 03:53:51 CEST 2001


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

Modified Files:
	swscale.c 
Log Message:
horizontal lines bugfix


Index: swscale.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/swscale.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- swscale.c	19 Oct 2001 01:26:36 -0000	1.12
+++ swscale.c	19 Oct 2001 01:53:45 -0000	1.13
@@ -116,13 +116,13 @@
 	}
 #endif
 
+  // force calculation of the horizontal interpolation of the first line
+  s_last_ypos=-99;
+  s_last_y1pos=-99;
+
   if(y==0){
       s_srcypos= s_yinc/2 - 0x8000;
       s_ypos=0;
-
-      // force calculation of the horizontal interpolation of the first line
-      s_last_ypos=-99;
-      s_last_y1pos=-99;
 #ifdef HAVE_MMX2
 // cant downscale !!!
 	if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed)




More information about the MPlayer-cvslog mailing list