[MPlayer-cvslog] r25240 - in trunk/libvo: vosub_vidix.c vosub_vidix.h

reimar subversion at mplayerhq.hu
Sun Dec 2 14:37:15 CET 2007


Author: reimar
Date: Sun Dec  2 14:37:15 2007
New Revision: 25240

Log:
Use proper type for vidix_preinit parameter instead of void *


Modified:
   trunk/libvo/vosub_vidix.c
   trunk/libvo/vosub_vidix.h

Modified: trunk/libvo/vosub_vidix.c
==============================================================================
--- trunk/libvo/vosub_vidix.c	(original)
+++ trunk/libvo/vosub_vidix.c	Sun Dec  2 14:37:15 2007
@@ -27,12 +27,12 @@
 #include "mp_msg.h"
 #include "help_mp.h"
 
-#include "vosub_vidix.h"
 #include "vidix/vidixlib.h"
 #include "fastmemcpy.h"
 #include "osd.h"
 #include "video_out.h"
 #include "sub.h"
+#include "vosub_vidix.h"
 
 #include "libmpcodecs/vfcap.h"
 #include "libmpcodecs/mp_image.h"
@@ -634,7 +634,7 @@ uint32_t vidix_control(uint32_t request,
 //  return server_control(request,data); //VO_NOTIMPL;
 }
 
-int vidix_preinit(const char *drvname,void *server)
+int vidix_preinit(const char *drvname,vo_functions_t *server)
 {
   int err;
   if( mp_msg_test(MSGT_VO,MSGL_DBG2) ) {

Modified: trunk/libvo/vosub_vidix.h
==============================================================================
--- trunk/libvo/vosub_vidix.h	(original)
+++ trunk/libvo/vosub_vidix.h	Sun Dec  2 14:37:15 2007
@@ -13,7 +13,7 @@
 #define VOSUB_VIDIX_H
 
 		    /* drvname can be NULL */
-int	 vidix_preinit(const char *drvname,void *server);
+int	 vidix_preinit(const char *drvname,vo_functions_t *server);
 int      vidix_init(unsigned src_width,unsigned src_height,
 		    unsigned dest_x,unsigned dest_y,unsigned dst_width,
 		    unsigned dst_height,unsigned format,unsigned dest_bpp,



More information about the MPlayer-cvslog mailing list