mirror of https://github.com/mpv-player/mpv
vo_xv: fix compilation of SHM not available
This commit is contained in:
parent
f2d67a48c9
commit
7df03a1c9e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue