r34703 - trunk/libvo/vo_sdl.c
Author: reimar Date: Sun Feb 12 20:27:35 2012 New Revision: 34703 Log: Deduplicate some code that exists both in the if and else branch. Modified: trunk/libvo/vo_sdl.c Modified: trunk/libvo/vo_sdl.c ============================================================================== --- trunk/libvo/vo_sdl.c Sun Feb 12 20:03:19 2012 (r34702) +++ trunk/libvo/vo_sdl.c Sun Feb 12 20:27:35 2012 (r34703) @@ -552,13 +552,9 @@ static void set_fullmode (int mode) { } mp_msg(MSGT_VO,MSGL_V, "SET SDL Mode: %d: %d x %d\n", mode, priv->fullmodes[mode]->w, priv->fullmodes[mode]->h); priv->fullmode = mode; - screen_surface_h = priv->fullmodes[mode]->h; - screen_surface_w = priv->fullmodes[mode]->w; } - else { screen_surface_h = priv->fullmodes[mode]->h; screen_surface_w = priv->fullmodes[mode]->w; - } aspect_save_screenres(screen_surface_w, screen_surface_h);
reimar <subversion <at> mplayerhq.hu> writes:
Author: reimar Date: Sun Feb 12 20:27:35 2012 New Revision: 34703
Log: Deduplicate some code that exists both in the if and else branch.
Since this change, mplayer -vo sdl crashes with "fs=yes" in config. Reported by konst, kvk5 at yandexru Carl Eugen
participants (2)
-
Carl Eugen Hoyos -
reimar