diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2001-10-19 01:53:45 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2001-10-19 01:53:45 +0000 |
commit | b3a134b64cab0d5807fd99dc676adf368ccd430f (patch) | |
tree | 886498e31a1eb85509c9c797c2bfa8e3270ee1bb /postproc/swscale.c | |
parent | d3fda50869e6e87b51377c306460f8663be12901 (diff) | |
download | ffmpeg-b3a134b64cab0d5807fd99dc676adf368ccd430f.tar.gz |
horizontal lines bugfix
Originally committed as revision 2272 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/swscale.c')
-rw-r--r-- | postproc/swscale.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c index 4d92bfda0d..02e9650892 100644 --- a/postproc/swscale.c +++ b/postproc/swscale.c @@ -116,13 +116,13 @@ canMMX2BeUsed= (s_xinc <= 0x10000 && (dstw&31)==0) ? 1 : 0; } #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) |