Mercurial > mplayer.hg
diff postproc/swscale_template.c @ 2271:a8d57bbc4413
horizontal lines bugfix
author | michael |
---|---|
date | Fri, 19 Oct 2001 01:53:45 +0000 |
parents | 56ca174d8169 |
children | 9ee34c6950e0 |
line wrap: on
line diff
--- 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)