summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-05 20:53:17 +0100
committerwm4 <wm4@nowhere>2013-11-05 22:05:22 +0100
commit7df03a1c9e318855b4d61491c34062323f0fe4cc (patch)
treefac1c1db031c163c07d6a3b58c59ae7761f609d2 /video
parentf2d67a48c97dd80af5373827b50248fb1927a0c5 (diff)
downloadmpv-7df03a1c9e318855b4d61491c34062323f0fe4cc.tar.bz2
mpv-7df03a1c9e318855b4d61491c34062323f0fe4cc.tar.xz
vo_xv: fix compilation of SHM not available
Diffstat (limited to 'video')
-rw-r--r--video/out/vo_xv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c
index 02daaf86f8..a64dd1202a 100644
--- a/video/out/vo_xv.c
+++ b/video/out/vo_xv.c
@@ -557,7 +557,7 @@ static void deallocate_xvimage(struct vo *vo, int foo)
XFree(ctx->xvimage[foo]);
ctx->xvimage[foo] = NULL;
-#ifdef HAVE_SHM
+#if HAVE_SHM
ctx->Shminfo[foo] = (XShmSegmentInfo){0};
#endif