1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 19:52:14 +00:00

declare some functions as static

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27014 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben 2008-06-07 12:02:56 +00:00
parent 0ed0cb1af4
commit 4f99e19300
2 changed files with 4 additions and 9 deletions

View File

@ -212,7 +212,7 @@ static uint32_t vidix_draw_slice_packed(uint8_t *image[], int stride[], int w,in
return 0; 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); mp_msg(MSGT_VO,MSGL_WARN, MSGTR_LIBVO_SUB_VIDIX_DummyVidixdrawsliceWasCalled);
return -1; return -1;
@ -230,13 +230,13 @@ static uint32_t vidix_draw_image(mp_image_t *mpi){
return VO_TRUE; 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); mp_msg(MSGT_VO,MSGL_WARN, MSGTR_LIBVO_SUB_VIDIX_DummyVidixdrawframeWasCalled);
return -1; return -1;
} }
void vidix_flip_page(void) static void vidix_flip_page(void)
{ {
if( mp_msg_test(MSGT_VO,MSGL_DBG2) ) { if( mp_msg_test(MSGT_VO,MSGL_DBG2) ) {
mp_msg(MSGT_VO,MSGL_DBG2, "vosub_vidix: vidix_flip_page() was called\n"); } 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) ) { if( mp_msg_test(MSGT_VO,MSGL_DBG2) ) {
mp_msg(MSGT_VO,MSGL_DBG2, "vosub_vidix: vidix_draw_osd() was called\n"); } mp_msg(MSGT_VO,MSGL_DBG2, "vosub_vidix: vidix_draw_osd() was called\n"); }

View File

@ -27,11 +27,6 @@ void vidix_term( void );
uint32_t vidix_control(uint32_t request, void *data, ...); uint32_t vidix_control(uint32_t request, void *data, ...);
uint32_t vidix_query_fourcc(uint32_t fourcc); 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" #include "vidix/vidix.h"
/* graphic keys */ /* graphic keys */
int vidix_grkey_support(void); int vidix_grkey_support(void);