[MPlayer-cvslog] r32451 - trunk/libvo/vo_dxr3.c
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Fri Oct 8 18:34:19 CEST 2010
On Fri, Oct 08, 2010 at 11:00:50AM +0200, diego wrote:
> Author: diego
> Date: Fri Oct 8 11:00:50 2010
> New Revision: 32451
>
> Log:
> cosmetics: Drop some {} from if statements to get rid of pointless #ifdefs.
>
> Modified:
> trunk/libvo/vo_dxr3.c
>
> Modified: trunk/libvo/vo_dxr3.c
> ==============================================================================
> --- trunk/libvo/vo_dxr3.c Fri Oct 8 10:56:20 2010 (r32450)
> +++ trunk/libvo/vo_dxr3.c Fri Oct 8 11:00:50 2010 (r32451)
> @@ -708,13 +708,9 @@ static void uninit(void)
> overlay_release(overlay_data);
>
> #ifdef CONFIG_GUI
> - if (!use_gui) {
> + if (!use_gui)
> #endif
> vo_x11_uninit();
> -
> -#ifdef CONFIG_GUI
> - }
> -#endif
> }
> #endif
> if (old_vmode != -1) {
> @@ -890,15 +886,12 @@ static int preinit(const char *arg)
> /* Initialize overlay and X11 */
> overlay_data = overlay_init(fd_control);
> #ifdef CONFIG_GUI
> - if (!use_gui) {
> + if (!use_gui)
> #endif
> if (!vo_init()) {
> mp_msg(MSGT_VO,MSGL_ERR, MSGTR_LIBVO_DXR3_UnableToInitX11);
> return -1;
> }
> -#ifdef CONFIG_GUI
> - }
> -#endif
> }
> #endif
Someone around who can actually test it?
I suspect that the if actually needs to be removed completely to make it work at all...
More information about the MPlayer-cvslog
mailing list