[vlc-devel] commit: fix xvmc video_output compilation ( Rafaël Carré )
git version control
git at videolan.org
Sat Mar 8 18:15:37 CET 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Mar 8 18:15:19 2008 +0100| [9a8650a188e067bc14b7e6ed48bf89082a0f3d16]
fix xvmc video_output compilation
static functions can not be used outside of the file where they are declared
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9a8650a188e067bc14b7e6ed48bf89082a0f3d16
---
modules/video_output/x11/xcommon.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/x11/xcommon.c b/modules/video_output/x11/xcommon.c
index 60e811c..aa1b36f 100644
--- a/modules/video_output/x11/xcommon.c
+++ b/modules/video_output/x11/xcommon.c
@@ -122,7 +122,7 @@ static IMAGE_TYPE *CreateImage ( vout_thread_t *,
#ifdef HAVE_SYS_SHM_H
#ifndef MODULE_NAME_IS_glx
-static IMAGE_TYPE *CreateShmImage ( vout_thread_t *,
+IMAGE_TYPE *CreateShmImage ( vout_thread_t *,
Display *, EXTRA_ARGS_SHM, int, int );
#endif
static int i_shm_major = 0;
@@ -2838,7 +2838,7 @@ static int InitDisplay( vout_thread_t *p_vout )
* document by J.Corbet and K.Packard. Most of the parameters were copied from
* there. See http://ftp.xfree86.org/pub/XFree86/4.0/doc/mit-shm.TXT
*****************************************************************************/
-static IMAGE_TYPE * CreateShmImage( vout_thread_t *p_vout,
+IMAGE_TYPE * CreateShmImage( vout_thread_t *p_vout,
Display* p_display, EXTRA_ARGS_SHM,
int i_width, int i_height )
{
More information about the vlc-devel
mailing list