vo_xv: fix compilation of SHM not available

This commit is contained in:
wm4 2013-11-05 20:53:17 +01:00
parent f2d67a48c9
commit 7df03a1c9e
1 changed files with 1 additions and 1 deletions

View File

@ -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