diff options
author | Jerome Leclanche <jerome@leclan.ch> | 2014-05-22 02:27:18 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-24 16:45:00 +0200 |
commit | 58fbe50d6888b958010e6048241a3ecf34d5d73b (patch) | |
tree | 02350a2f228300e60a6de3e9cabdfa0706633f8b /video | |
parent | 6a0036ea032c94a955c7a7893b0548c169b92ab5 (diff) | |
download | mpv-58fbe50d6888b958010e6048241a3ecf34d5d73b.tar.bz2 mpv-58fbe50d6888b958010e6048241a3ecf34d5d73b.tar.xz |
x11: fix a warning with --disable-xext
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'video')
-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 b7bd64b0a5..22edd96e7e 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]); |