[vlc-devel] commit: vout_window_t.p_sys type safety ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Feb 5 20:30:40 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Feb  5 21:23:43 2009 +0200| [126bc96b7952e9c2263d86b00f6bc3fc24c0c6d0] | committer: Rémi Denis-Courmont 

vout_window_t.p_sys type safety

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=126bc96b7952e9c2263d86b00f6bc3fc24c0c6d0
---

 include/vlc_window.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/vlc_window.h b/include/vlc_window.h
index a002f3a..144e622 100644
--- a/include/vlc_window.h
+++ b/include/vlc_window.h
@@ -29,6 +29,7 @@
 # include <stdarg.h>
 
 typedef struct vout_window_t vout_window_t;
+typedef struct vout_window_sys_t vout_window_sys_t;
 
 struct vout_window_t
 {
@@ -41,7 +42,7 @@ struct vout_window_t
         void      *hwnd; /* Win32 window handle */
         uint32_t   xid;  /* X11 window ID */
     } handle;
-    void          *p_sys;  /* window provider private data */
+    vout_window_sys_t *p_sys;  /* window provider private data */
 
     unsigned       width;  /* pixels width */
     unsigned       height; /* pixels height */




More information about the vlc-devel mailing list