[MPlayer-cvslog] r27444 - in trunk/libvo: vo_x11.c vo_xvmc.c

diego subversion at mplayerhq.hu
Sat Aug 9 16:56:09 CEST 2008


Author: diego
Date: Sat Aug  9 16:56:09 2008
New Revision: 27444

Log:
Remove duplicated prototype for XShmGetEventBase(), because
- it is used in other places without checking,
- it is a workaround for a bug elsewhere,
- if the problem is real at all, there should be a proper configure check.


Modified:
   trunk/libvo/vo_x11.c
   trunk/libvo/vo_xvmc.c

Modified: trunk/libvo/vo_x11.c
==============================================================================
--- trunk/libvo/vo_x11.c	(original)
+++ trunk/libvo/vo_x11.c	Sat Aug  9 16:56:09 2008
@@ -29,9 +29,6 @@ static int Shmem_Flag;
 static XShmSegmentInfo Shminfo[1];
 static int gXErrorFlag;
 static int CompletionType = -1;
-
-/* since it doesn't seem to be defined on some platforms */
-int XShmGetEventBase(Display *);
 #endif
 
 #include "sub.h"

Modified: trunk/libvo/vo_xvmc.c
==============================================================================
--- trunk/libvo/vo_xvmc.c	(original)
+++ trunk/libvo/vo_xvmc.c	Sat Aug  9 16:56:09 2008
@@ -131,8 +131,6 @@ const LIBVO_EXTERN(xvmc);
 
 //shm stuff from vo_xv
 #ifdef HAVE_SHM
-/* since it doesn't seem to be defined on some platforms */
-int XShmGetEventBase(Display*);
 static XShmSegmentInfo Shminfo;
 static int Shmem_Flag;
 #endif



More information about the MPlayer-cvslog mailing list