Mercurial > mplayer.hg
changeset 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 | ef51b638c0b7 |
children | 6c9a3a4c93a7 |
files | libvo/vesa_lvo.c libvo/video_out.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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) {
--- 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;