[MPlayer-cvslog] r32217 - in trunk/libvo: vesa_lvo.c video_out.c
diego
subversion at mplayerhq.hu
Mon Sep 13 05:50:55 CEST 2010
Author: diego
Date: Mon Sep 13 05:50:55 2010
New Revision: 32217
Log:
Mark some vo_functions_t declarations that were not yet const as const.
Modified:
trunk/libvo/vesa_lvo.c
trunk/libvo/video_out.c
Modified: trunk/libvo/vesa_lvo.c
==============================================================================
--- trunk/libvo/vesa_lvo.c Mon Sep 13 05:12:07 2010 (r32216)
+++ trunk/libvo/vesa_lvo.c Mon Sep 13 05:50:55 2010 (r32217)
@@ -60,7 +60,7 @@ uint32_t vlvo_control(uint32_t request,
#define SCREEN_LINE_SIZE(pixel_size) (video_mode_info.XResolution*(pixel_size) )
#define IMAGE_LINE_SIZE(pixel_size) (image_width*(pixel_size))
-extern vo_functions_t video_out_vesa;
+extern const vo_functions_t video_out_vesa;
int vlvo_preinit(const char *drvname)
{
Modified: trunk/libvo/video_out.c
==============================================================================
--- trunk/libvo/video_out.c Mon Sep 13 05:12:07 2010 (r32216)
+++ trunk/libvo/video_out.c Mon Sep 13 05:50:55 2010 (r32217)
@@ -93,7 +93,7 @@ char *vo_wintitle;
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 const vo_functions_t video_out_xover;
extern const vo_functions_t video_out_xvmc;
extern const vo_functions_t video_out_vdpau;
extern const vo_functions_t video_out_xv;
@@ -111,9 +111,9 @@ extern const vo_functions_t video_out_nu
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 const vo_functions_t video_out_fbdev;
extern const vo_functions_t video_out_fbdev2;
-extern vo_functions_t video_out_svga;
+extern const vo_functions_t video_out_svga;
extern const vo_functions_t video_out_png;
extern const vo_functions_t video_out_ggi;
extern const vo_functions_t video_out_aa;
@@ -129,12 +129,12 @@ extern const vo_functions_t video_out_iv
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 const vo_functions_t video_out_vesa;
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 const vo_functions_t video_out_xvidix;
+extern const vo_functions_t video_out_winvidix;
+extern const vo_functions_t video_out_cvidix;
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;
More information about the MPlayer-cvslog
mailing list