From cc996ad5266526331c9c929c6c180d16ad5ab716 Mon Sep 17 00:00:00 2001 From: iive Date: Tue, 26 Mar 2002 16:45:21 +0000 Subject: [PATCH] fixed green lines caused by missing rounding to 2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5359 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index 5a35899499..42d460e33d 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -917,7 +917,7 @@ static int setup_surfaces(void) surfwidth = priv->width; surfheight = priv->height + (priv->surface->h - priv->dstheight) / v_scale; - + surfheight&= ~1; /* Place the image in the middle of the screen */ priv->y = (surfheight - priv->height) / 2; priv->y_screen_top = priv->y * v_scale;