[vlc-devel] commit: Error handling fix ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Aug 16 14:48:18 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 16 12:17:26 2009 +0300| [7b29ef8dd74731a496892a5619cb9e1abf64f7e7] | committer: Rémi Denis-Courmont 

Error handling fix

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

 modules/video_output/xcb/x11.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index 88970cd..f2b13f4 100644
--- a/modules/video_output/xcb/x11.c
+++ b/modules/video_output/xcb/x11.c
@@ -106,6 +106,7 @@ static int Open (vlc_object_t *obj)
         return VLC_ENOMEM;
 
     vd->sys = p_sys;
+    p_sys->pool = NULL;
 
     /* Connect to X */
     p_sys->conn = Connect (obj);
@@ -274,9 +275,6 @@ static int Open (vlc_object_t *obj)
     msg_Dbg (vd, "using X11 graphic context %08"PRIx32, p_sys->gc);
 
     /* */
-    p_sys->pool = NULL;
-
-    /* */
     vout_display_info_t info = vd->info;
     info.has_pictures_invalid = true;
 




More information about the vlc-devel mailing list