# HG changeset patch # User diego # Date 1284718220 0 # Node ID bd74742452c56a60d14a9144ba1b531f15d0e8fa # Parent ef51b638c0b761f2e8e5f2e8a9aad7b905cd5eae 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. diff -r ef51b638c0b7 -r bd74742452c5 libvo/vesa_lvo.c --- a/libvo/vesa_lvo.c Fri Sep 17 09:59:10 2010 +0000 +++ b/libvo/vesa_lvo.c Fri Sep 17 10:10:20 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 const vo_functions_t video_out_vesa; +extern vo_functions_t video_out_vesa; int vlvo_preinit(const char *drvname) { diff -r ef51b638c0b7 -r bd74742452c5 libvo/video_out.c --- a/libvo/video_out.c Fri Sep 17 09:59:10 2010 +0000 +++ b/libvo/video_out.c Fri Sep 17 10:10:20 2010 +0000 @@ -129,7 +129,7 @@ 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;