summaryrefslogtreecommitdiffstats
path: root/libvo/vo_dga.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_dga.c')
-rw-r--r--libvo/vo_dga.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/libvo/vo_dga.c b/libvo/vo_dga.c
index 8b0d3962f3..9e63eed9c6 100644
--- a/libvo/vo_dga.c
+++ b/libvo/vo_dga.c
@@ -60,8 +60,6 @@
#include "../postproc/rgb2rgb.h"
#include "aspect.h"
-LIBVO_EXTERN( dga )
-
#include <X11/Xlib.h>
#include <X11/extensions/xf86dga.h>
@@ -75,7 +73,7 @@ LIBVO_EXTERN( dga )
#include "../mp_msg.h"
-static vo_info_t vo_info =
+static vo_info_t info =
{
#ifdef HAVE_DGA2
"DGA ( Direct Graphic Access V2.0 )",
@@ -91,6 +89,8 @@ static vo_info_t vo_info =
""
};
+LIBVO_EXTERN( dga )
+
//------------------------------------------------------------------
@@ -457,11 +457,6 @@ static uint32_t draw_slice( uint8_t *src[],int stride[],
//---------------------------------------------------------
-static const vo_info_t* get_info( void )
-{ return &vo_info; }
-
-//---------------------------------------------------------
-
static uint32_t query_format( uint32_t format )
{