comparison libvo/vesa_lvo.c @ 32201:bd74742452c5

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.
author diego
date Fri, 17 Sep 2010 10:10:20 +0000
parents 04071c66eeb1
children 6c9a3a4c93a7
comparison
equal deleted inserted replaced
32200:ef51b638c0b7 32201:bd74742452c5
58 58
59 #define PIXEL_SIZE() ((video_mode_info.BitsPerPixel+7)/8) 59 #define PIXEL_SIZE() ((video_mode_info.BitsPerPixel+7)/8)
60 #define SCREEN_LINE_SIZE(pixel_size) (video_mode_info.XResolution*(pixel_size) ) 60 #define SCREEN_LINE_SIZE(pixel_size) (video_mode_info.XResolution*(pixel_size) )
61 #define IMAGE_LINE_SIZE(pixel_size) (image_width*(pixel_size)) 61 #define IMAGE_LINE_SIZE(pixel_size) (image_width*(pixel_size))
62 62
63 extern const vo_functions_t video_out_vesa; 63 extern vo_functions_t video_out_vesa;
64 64
65 int vlvo_preinit(const char *drvname) 65 int vlvo_preinit(const char *drvname)
66 { 66 {
67 mp_msg(MSGT_VO,MSGL_WARN, MSGTR_LIBVO_VESA_ThisBranchIsNoLongerSupported); 67 mp_msg(MSGT_VO,MSGL_WARN, MSGTR_LIBVO_VESA_ThisBranchIsNoLongerSupported);
68 return -1; 68 return -1;