[vlc-devel] commit: Fix compilation. ( Rémi Duraffort )

Rémi Duraffort ivoire at videolan.org
Tue Aug 25 13:55:44 CEST 2009


> diff --git a/modules/video_output/x11/xcommon.h b/modules/video_output/x11/xcommon.h
>  #endif
>  
>  #ifndef MODULE_NAME_IS_glx
> -static IMAGE_TYPE *CreateImage    ( vout_thread_t *,
> -                                    Display *, EXTRA_ARGS, int, int );
> +IMAGE_TYPE *CreateImage    ( vout_thread_t *,
> +                             Display *, EXTRA_ARGS, int, int );
>  #ifdef HAVE_SYS_SHM_H
>  IMAGE_TYPE *CreateShmImage ( vout_thread_t *,
>                                      Display *, EXTRA_ARGS_SHM, int, int );
With this patch, xvmc can now compile but can't be loaded as CreateImage
isn't defined anymore (removed by
[0ae751d3e401f387a0007114cb0bfb7b4ac2103d])

Moreover it seems that this function wasn't doing anything execpt
returning NULL for the xvmc module.

The question is then: who use this module and can test/fix ?


Best regards

-- 
Rémi Duraffort | ivoire



More information about the vlc-devel mailing list