changeset 32133:04071c66eeb1

Mark some vo_functions_t declarations that were not yet const as const.
author diego
date Mon, 13 Sep 2010 03:50:55 +0000
parents 827d6d2f0afa
children 12db4ae0b3d1
files libvo/vesa_lvo.c libvo/video_out.c
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vesa_lvo.c	Mon Sep 13 03:12:07 2010 +0000
+++ b/libvo/vesa_lvo.c	Mon Sep 13 03:50:55 2010 +0000
@@ -60,7 +60,7 @@
 #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)
 {
--- a/libvo/video_out.c	Mon Sep 13 03:12:07 2010 +0000
+++ b/libvo/video_out.c	Mon Sep 13 03:50:55 2010 +0000
@@ -93,7 +93,7 @@
 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_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_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;