[MPlayer-cvslog] r32285 - in trunk/libvo: vesa_lvo.c video_out.c

diego subversion at mplayerhq.hu
Fri Sep 17 12:10:21 CEST 2010


Author: diego
Date: Fri Sep 17 12:10:20 2010
New Revision: 32285

Log:
Revert marking vo_functions_t video_out_vesa as const; fix vo_vesa compilation.
The variable is filled with values in libvo/vesa_lvo.c.

Modified:
   trunk/libvo/vesa_lvo.c
   trunk/libvo/video_out.c

Modified: trunk/libvo/vesa_lvo.c
==============================================================================
--- trunk/libvo/vesa_lvo.c	Fri Sep 17 11:59:10 2010	(r32284)
+++ trunk/libvo/vesa_lvo.c	Fri Sep 17 12:10:20 2010	(r32285)
@@ -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 const vo_functions_t video_out_vesa;
+extern vo_functions_t video_out_vesa;
 
 int vlvo_preinit(const char *drvname)
 {

Modified: trunk/libvo/video_out.c
==============================================================================
--- trunk/libvo/video_out.c	Fri Sep 17 11:59:10 2010	(r32284)
+++ trunk/libvo/video_out.c	Fri Sep 17 12:10:20 2010	(r32285)
@@ -129,7 +129,7 @@ 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 const vo_functions_t video_out_vesa;
+extern vo_functions_t video_out_vesa;
 extern const vo_functions_t video_out_directfb;
 extern const vo_functions_t video_out_dfbmga;
 extern const vo_functions_t video_out_xvidix;


More information about the MPlayer-cvslog mailing list