[MPlayer-cvslog] r38660 - trunk/libvo/gl_common.c

cigaes subversion at mplayerhq.hu
Sat Sep 21 12:30:18 EEST 2024


Author: cigaes
Date: Sat Sep 21 12:30:18 2024
New Revision: 38660

Log:
libvo/gl_common: fix incompatible pointer types

Modified:
   trunk/libvo/gl_common.c

Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c	Sat Sep 21 12:30:17 2024	(r38659)
+++ trunk/libvo/gl_common.c	Sat Sep 21 12:30:18 2024	(r38660)
@@ -2239,7 +2239,7 @@ static XVisualInfo *getWindowVisualInfo(
   XVisualInfo vinfo_template;
   int tmp;
   if (!XGetWindowAttributes(mDisplay, win, &xw_attr))
-    return DefaultVisual(mDisplay, 0);
+    xw_attr.visual = DefaultVisual(mDisplay, 0);
   vinfo_template.visualid = XVisualIDFromVisual(xw_attr.visual);
   return XGetVisualInfo(mDisplay, VisualIDMask, &vinfo_template, &tmp);
 }


More information about the MPlayer-cvslog mailing list