[MPlayer-cvslog] r27994 - trunk/libvo/vo_wii.c

diego subversion at mplayerhq.hu
Sun Nov 23 14:42:41 CET 2008


Author: diego
Date: Sun Nov 23 14:42:41 2008
New Revision: 27994

Log:
Merge if condition check to lessen differences to vo_fbdev.c.


Modified:
   trunk/libvo/vo_wii.c

Modified: trunk/libvo/vo_wii.c
==============================================================================
--- trunk/libvo/vo_wii.c	(original)
+++ trunk/libvo/vo_wii.c	Sun Nov 23 14:42:41 2008
@@ -234,9 +234,7 @@ static int config(uint32_t width, uint32
     mp_msg(MSGT_VO, MSGL_ERR, "Can't open %s: %s\n", TTY_DEV_NAME, strerror(errno));
     vt_doit = 0;
   }
-
-  vt_fp = fdopen(vt_fd, "w");
-  if (vt_doit && !vt_fp) {
+  if (vt_doit && !(vt_fp = fdopen(vt_fd, "w"))) {
     mp_msg(MSGT_VO, MSGL_ERR, "Can't fdopen %s: %s\n", TTY_DEV_NAME, strerror(errno));
     vt_doit = 0;
   }



More information about the MPlayer-cvslog mailing list