summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_xv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 178c9c4ca9..86257a1179 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -116,7 +116,7 @@ struct xvctx {
unsigned char *src, unsigned char *srca,
int stride);
#ifdef HAVE_SHM
- XShmSegmentInfo Shminfo[NUM_BUFFERS];
+ XShmSegmentInfo Shminfo[NUM_BUFFERS + 1];
int Shmem_Flag;
#endif
};