[MPlayer-cvslog] r32451 - trunk/libvo/vo_dxr3.c

diego subversion at mplayerhq.hu
Fri Oct 8 11:00:50 CEST 2010


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
 


More information about the MPlayer-cvslog mailing list