# HG changeset patch # User michael # Date 1003456425 0 # Node ID a8d57bbc4413bed86ecd6d409db8847a1536ad3d # Parent 56ca174d8169bb28b59f2eec0278ccec48502b26 horizontal lines bugfix diff -r 56ca174d8169 -r a8d57bbc4413 postproc/swscale.c --- a/postproc/swscale.c Fri Oct 19 01:26:36 2001 +0000 +++ b/postproc/swscale.c Fri Oct 19 01:53:45 2001 +0000 @@ -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) diff -r 56ca174d8169 -r a8d57bbc4413 postproc/swscale_template.c --- a/postproc/swscale_template.c Fri Oct 19 01:26:36 2001 +0000 +++ b/postproc/swscale_template.c Fri Oct 19 01:53:45 2001 +0000 @@ -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)