[MPlayer-cvslog] r30968 - trunk/libvo/video_out.c

reimar subversion at mplayerhq.hu
Sat Mar 27 16:27:17 CET 2010


Author: reimar
Date: Sat Mar 27 16:27:16 2010
New Revision: 30968

Log:
Add const to some video_out extern declarations to match their definitions.

Modified:
   trunk/libvo/video_out.c

Modified: trunk/libvo/video_out.c
==============================================================================
--- trunk/libvo/video_out.c	Sat Mar 27 16:22:47 2010	(r30967)
+++ trunk/libvo/video_out.c	Sat Mar 27 16:27:16 2010	(r30968)
@@ -87,58 +87,58 @@ char *vo_wintitle;
 //
 // Externally visible list of all vo drivers
 //
-extern vo_functions_t video_out_mga;
-extern vo_functions_t video_out_xmga;
-extern vo_functions_t video_out_x11;
+extern const vo_functions_t video_out_mga;
+extern const vo_functions_t video_out_xmga;
+extern const vo_functions_t video_out_x11;
 extern vo_functions_t video_out_xover;
-extern vo_functions_t video_out_xvmc;
-extern vo_functions_t video_out_vdpau;
-extern vo_functions_t video_out_xv;
-extern vo_functions_t video_out_gl_nosw;
-extern vo_functions_t video_out_gl;
-extern vo_functions_t video_out_gl2;
-extern vo_functions_t video_out_matrixview;
-extern vo_functions_t video_out_dga;
-extern vo_functions_t video_out_sdl;
-extern vo_functions_t video_out_3dfx;
-extern vo_functions_t video_out_tdfxfb;
-extern vo_functions_t video_out_s3fb;
-extern vo_functions_t video_out_wii;
-extern vo_functions_t video_out_null;
-extern vo_functions_t video_out_zr;
-extern vo_functions_t video_out_zr2;
-extern vo_functions_t video_out_bl;
+extern const vo_functions_t video_out_xvmc;
+extern const vo_functions_t video_out_vdpau;
+extern const vo_functions_t video_out_xv;
+extern const vo_functions_t video_out_gl_nosw;
+extern const vo_functions_t video_out_gl;
+extern const vo_functions_t video_out_gl2;
+extern const vo_functions_t video_out_matrixview;
+extern const vo_functions_t video_out_dga;
+extern const vo_functions_t video_out_sdl;
+extern const vo_functions_t video_out_3dfx;
+extern const vo_functions_t video_out_tdfxfb;
+extern const vo_functions_t video_out_s3fb;
+extern const vo_functions_t video_out_wii;
+extern const vo_functions_t video_out_null;
+extern const vo_functions_t video_out_zr;
+extern const vo_functions_t video_out_zr2;
+extern const vo_functions_t video_out_bl;
 extern vo_functions_t video_out_fbdev;
-extern vo_functions_t video_out_fbdev2;
+extern const vo_functions_t video_out_fbdev2;
 extern vo_functions_t video_out_svga;
-extern vo_functions_t video_out_png;
-extern vo_functions_t video_out_ggi;
-extern vo_functions_t video_out_aa;
-extern vo_functions_t video_out_caca;
-extern vo_functions_t video_out_mpegpes;
-extern vo_functions_t video_out_yuv4mpeg;
-extern vo_functions_t video_out_direct3d;
-extern vo_functions_t video_out_directx;
-extern vo_functions_t video_out_kva;
-extern vo_functions_t video_out_dxr2;
-extern vo_functions_t video_out_dxr3;
-extern vo_functions_t video_out_ivtv;
-extern vo_functions_t video_out_v4l2;
-extern vo_functions_t video_out_jpeg;
-extern vo_functions_t video_out_gif89a;
+extern const vo_functions_t video_out_png;
+extern const vo_functions_t video_out_ggi;
+extern const vo_functions_t video_out_aa;
+extern const vo_functions_t video_out_caca;
+extern const vo_functions_t video_out_mpegpes;
+extern const vo_functions_t video_out_yuv4mpeg;
+extern const vo_functions_t video_out_direct3d;
+extern const vo_functions_t video_out_directx;
+extern const vo_functions_t video_out_kva;
+extern const vo_functions_t video_out_dxr2;
+extern const vo_functions_t video_out_dxr3;
+extern const vo_functions_t video_out_ivtv;
+extern const vo_functions_t video_out_v4l2;
+extern const vo_functions_t video_out_jpeg;
+extern const vo_functions_t video_out_gif89a;
 extern vo_functions_t video_out_vesa;
-extern vo_functions_t video_out_directfb;
-extern vo_functions_t video_out_dfbmga;
+extern const vo_functions_t video_out_directfb;
+extern const vo_functions_t video_out_dfbmga;
 extern vo_functions_t video_out_xvidix;
 extern vo_functions_t video_out_winvidix;
 extern vo_functions_t video_out_cvidix;
-extern vo_functions_t video_out_tdfx_vid;
-extern vo_functions_t video_out_xvr100;
-extern vo_functions_t video_out_tga;
-extern vo_functions_t video_out_corevideo;
-extern vo_functions_t video_out_quartz;
-extern vo_functions_t video_out_pnm;
-extern vo_functions_t video_out_md5sum;
+extern const vo_functions_t video_out_tdfx_vid;
+extern const vo_functions_t video_out_xvr100;
+extern const vo_functions_t video_out_tga;
+extern const vo_functions_t video_out_corevideo;
+extern const vo_functions_t video_out_quartz;
+extern const vo_functions_t video_out_pnm;
+extern const vo_functions_t video_out_md5sum;
 
 const vo_functions_t* const video_out_drivers[] =
 {


More information about the MPlayer-cvslog mailing list