diff options
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r-- | libvo/vo_xv.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index 77d26a5761..cdfaf90adb 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -25,7 +25,6 @@ Buffer allocation: #include "video_out.h" #include "video_out_internal.h" -LIBVO_EXTERN(xv) #include <X11/Xlib.h> #include <X11/Xutil.h> @@ -43,7 +42,7 @@ LIBVO_EXTERN(xv) #include "../Gui/interface.h" #endif -static vo_info_t vo_info = +static vo_info_t info = { "X11/Xv", "xv", @@ -51,6 +50,8 @@ static vo_info_t vo_info = "" }; +LIBVO_EXTERN(xv) + #include <X11/extensions/Xv.h> #include <X11/extensions/Xvlib.h> // FIXME: dynamically allocate this stuff @@ -448,9 +449,6 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 return 0; } -static const vo_info_t * get_info(void) -{ return &vo_info; } - static void allocate_xvimage(int foo) { /* |