diff options
author | Jerome Leclanche <jerome@leclan.ch> | 2014-05-22 02:27:18 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-22 09:29:56 +0200 |
commit | 3d065a53fccfabf569860db7177e2fb979e2a2df (patch) | |
tree | 83af3fb840083527e95c8868b40c99d99fbfbaeb | |
parent | fcdaaa203b2cde6060722aff0decfe16cf35e27f (diff) |
x11: fix a warning with --disable-xext
Signed-off-by: wm4 <wm4@nowhere>
-rw-r--r-- | video/out/vo_x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c index d1d6b6accc..a8b37d4016 100644 --- a/video/out/vo_x11.c +++ b/video/out/vo_x11.c @@ -228,8 +228,8 @@ shmemerror: static void freeMyXImage(struct priv *p, int foo) { - struct vo *vo = p->vo; #if HAVE_SHM && HAVE_XEXT + struct vo *vo = p->vo; if (p->Shmem_Flag) { XShmDetach(vo->x11->display, &p->Shminfo[foo]); XDestroyImage(p->myximage[foo]); |