summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-27 15:27:16 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-27 15:27:16 +0000
commit1641daf014ca3b5140a47af1e2280aa55d134e9c (patch)
tree466eadbc6bdac7446b8948e27d75f7e3038f4be6 /libvo
parent38abe6ff7a3810f8e01b6296570e92df1b12b09c (diff)
downloadmpv-1641daf014ca3b5140a47af1e2280aa55d134e9c.tar.bz2
mpv-1641daf014ca3b5140a47af1e2280aa55d134e9c.tar.xz
Add const to some video_out extern declarations to match their definitions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30968 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/video_out.c90
1 files changed, 45 insertions, 45 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index 8fca2b85c2..ec7872c0e5 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -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[] =
{