[MPlayer-cvslog] r33933 - in trunk/libvo: vo_s3fb.c vo_tdfxfb.c
diego
subversion at mplayerhq.hu
Wed Jul 27 15:40:18 CEST 2011
Author: diego
Date: Wed Jul 27 15:40:18 2011
New Revision: 33933
Log:
libvo: extend alpha_func function pointers with parameter type declaration
This fixes compiler warnings about missing prototypes in function declarations.
Modified:
trunk/libvo/vo_s3fb.c
trunk/libvo/vo_tdfxfb.c
Modified: trunk/libvo/vo_s3fb.c
==============================================================================
--- trunk/libvo/vo_s3fb.c Wed Jul 27 15:40:16 2011 (r33932)
+++ trunk/libvo/vo_s3fb.c Wed Jul 27 15:40:18 2011 (r33933)
@@ -69,7 +69,7 @@ static uint32_t in_width, in_height, in_
screenwidth, screenheight, screendepth, screenstride,
vidwidth, vidheight, vidx, vidy, page, offset, sreg;
static char *inpage, *inpage0, *smem = NULL;
-static void (*alpha_func)();
+static void (*alpha_func)(int, int, unsigned char*, unsigned char*, int, unsigned char*, int);
static void clear_screen(void);
Modified: trunk/libvo/vo_tdfxfb.c
==============================================================================
--- trunk/libvo/vo_tdfxfb.c Wed Jul 27 15:40:16 2011 (r33932)
+++ trunk/libvo/vo_tdfxfb.c Wed Jul 27 15:40:18 2011 (r33933)
@@ -99,7 +99,8 @@ static volatile voodoo_io_reg *reg_IO;
static volatile voodoo_2d_reg *reg_2d;
static voodoo_yuv_reg *reg_YUV;
static struct YUV_plane *YUV;
-static void (*alpha_func)(), (*alpha_func_double)();
+static void (*alpha_func)(int, int, unsigned char*, unsigned char*, int, unsigned char*, int),
+ (*alpha_func_double)(int, int, unsigned char*, unsigned char*, int, unsigned char*, int);
static int preinit(const char *arg)
{
More information about the MPlayer-cvslog
mailing list