summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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