changeset 30926:aff8622cf8a8

Add const to some video_out extern declarations to match their definitions.
author reimar
date Sat, 27 Mar 2010 15:27:16 +0000
parents f8939d5b14b5
children 9a9d57f6d788
files libvo/video_out.c
diffstat 1 files changed, 45 insertions(+), 45 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/video_out.c	Sat Mar 27 15:22:47 2010 +0000
+++ b/libvo/video_out.c	Sat Mar 27 15:27:16 2010 +0000
@@ -87,58 +87,58 @@
 //
 // 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[] =
 {