summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_sdl.c2
1 files changed, 1 insertions, 1 deletions
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;