mirror of
https://github.com/mpv-player/mpv
synced 2025-03-02 12:20:57 +00:00
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]);
|
XFree(ctx->xvimage[foo]);
|
||||||
|
|
||||||
ctx->xvimage[foo] = NULL;
|
ctx->xvimage[foo] = NULL;
|
||||||
#ifdef HAVE_SHM
|
#if HAVE_SHM
|
||||||
ctx->Shminfo[foo] = (XShmSegmentInfo){0};
|
ctx->Shminfo[foo] = (XShmSegmentInfo){0};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user