aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/vo_directx.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_directx.c')
-rw-r--r--libvo/vo_directx.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c
index 9969062046..c5be5e3a01 100644
--- a/libvo/vo_directx.c
+++ b/libvo/vo_directx.c
@@ -100,10 +100,7 @@ static directx_fourcc_caps g_ddpf[] =
};
#define NUM_FORMATS (sizeof(g_ddpf) / sizeof(g_ddpf[0]))
-
-LIBVO_EXTERN(directx)
-
-static vo_info_t vo_info =
+static vo_info_t info =
{
"Directx DDraw YUV/RGB/BGR renderer",
"directx",
@@ -111,6 +108,7 @@ static vo_info_t vo_info =
""
};
+LIBVO_EXTERN(directx)
static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src,
unsigned char *srca, int stride)
@@ -305,12 +303,6 @@ static uint32_t Directx_CreateClipper()
return 0;
}
-static const vo_info_t*
-get_info(void)
-{
- return &vo_info;
-}
-
static void uninit(void)
{
if (g_lpddclipper != NULL) g_lpddclipper->lpVtbl->Release(g_lpddclipper);