aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-07 12:02:56 +0000
committerGravatar ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-07 12:02:56 +0000
commit4f99e1930014e7df0317b049a4ebe8ca08c09613 (patch)
tree36e58720f49df26023e3a6ca4cbfec179382ae45 /libvo
parent0ed0cb1af4b4924537a98f40e1da6d434694385b (diff)
declare some functions as static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27014 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vosub_vidix.c8
-rw-r--r--libvo/vosub_vidix.h5
2 files changed, 4 insertions, 9 deletions
diff --git a/libvo/vosub_vidix.c b/libvo/vosub_vidix.c
index 675ef9340f..e821268cc3 100644
--- a/libvo/vosub_vidix.c
+++ b/libvo/vosub_vidix.c
@@ -212,7 +212,7 @@ static uint32_t vidix_draw_slice_packed(uint8_t *image[], int stride[], int w,in
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_image_t *mpi){
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, int w,int h, unsigned char* src, unsigned
}
}
-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"); }
diff --git a/libvo/vosub_vidix.h b/libvo/vosub_vidix.h
index c6427be7b2..3befcd42e9 100644
--- a/libvo/vosub_vidix.h
+++ b/libvo/vosub_vidix.h
@@ -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);