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

ben subversion at mplayerhq.hu
Sat Jun 7 14:02:56 CEST 2008


Author: ben
Date: Sat Jun  7 14:02:56 2008
New Revision: 27014

Log:
declare some functions as static

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	Sat Jun  7 14:02:56 2008
@@ -212,7 +212,7 @@ static uint32_t vidix_draw_slice_packed(
     return 0;
 }
 
-uint32_t vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y)
+static uint32_t vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y)
 {
     mp_msg(MSGT_VO,MSGL_WARN, MSGTR_LIBVO_SUB_VIDIX_DummyVidixdrawsliceWasCalled);
     return -1;
@@ -230,13 +230,13 @@ static uint32_t  vidix_draw_image(mp_ima
     return VO_TRUE;
 }
 
-uint32_t vidix_draw_frame(uint8_t *image[])
+static uint32_t vidix_draw_frame(uint8_t *image[])
 {
   mp_msg(MSGT_VO,MSGL_WARN, MSGTR_LIBVO_SUB_VIDIX_DummyVidixdrawframeWasCalled);
   return -1;
 }
 
-void     vidix_flip_page(void)
+static void     vidix_flip_page(void)
 {
   if( mp_msg_test(MSGT_VO,MSGL_DBG2) ) {
     mp_msg(MSGT_VO,MSGL_DBG2, "vosub_vidix: vidix_flip_page() was called\n"); }
@@ -297,7 +297,7 @@ static void draw_alpha(int x0,int y0, in
     }
 }
 
-void     vidix_draw_osd(void)
+static void     vidix_draw_osd(void)
 {
   if( mp_msg_test(MSGT_VO,MSGL_DBG2) ) {
     mp_msg(MSGT_VO,MSGL_DBG2, "vosub_vidix: vidix_draw_osd() was called\n"); }

Modified: trunk/libvo/vosub_vidix.h
==============================================================================
--- trunk/libvo/vosub_vidix.h	(original)
+++ trunk/libvo/vosub_vidix.h	Sat Jun  7 14:02:56 2008
@@ -27,11 +27,6 @@ void     vidix_term( void );
 uint32_t vidix_control(uint32_t request, void *data, ...);
 uint32_t vidix_query_fourcc(uint32_t fourcc);
 
-uint32_t vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y);
-uint32_t vidix_draw_frame(uint8_t *src[]);
-void     vidix_flip_page(void);
-void     vidix_draw_osd(void);
-
 #include "vidix/vidix.h"
 /* graphic keys */
 int vidix_grkey_support(void);



More information about the MPlayer-cvslog mailing list