diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c index f0fb9f046345b5f2726f25fd5c772f28f360c6b9..f2b80f37a82089889b1fdbc26a36fae66746f38f 100644 --- a/modules/video_output/xcb/xvideo.c +++ b/modules/video_output/xcb/xvideo.c @@ -317,6 +317,10 @@ static int Open (vlc_object_t *obj) return VLC_EGENERIC; } + /* */ + p_sys->att = NULL; + p_sys->pool = NULL; + /* Cache adaptors infos */ p_sys->adaptors = GetAdaptors (p_sys->embed, p_sys->conn); if (p_sys->adaptors == NULL) @@ -326,7 +330,6 @@ static int Open (vlc_object_t *obj) video_format_t fmt = vd->fmt; // TODO ! #if 1 - p_sys->att = NULL; bool found_adaptor = false; /* FIXME: check max image size */