Mercurial > mplayer.hg
changeset 26982:853faa7a9bdd
declare some functions as static
author | ben |
---|---|
date | Sat, 07 Jun 2008 12:02:56 +0000 |
parents | f3f553c03044 |
children | a9626d7ae755 |
files | libvo/vosub_vidix.c libvo/vosub_vidix.h |
diffstat | 2 files changed, 4 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vosub_vidix.c Sat Jun 07 12:01:29 2008 +0000 +++ b/libvo/vosub_vidix.c Sat Jun 07 12:02:56 2008 +0000 @@ -212,7 +212,7 @@ 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 @@ 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 @@ } } -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"); }
--- a/libvo/vosub_vidix.h Sat Jun 07 12:01:29 2008 +0000 +++ b/libvo/vosub_vidix.h Sat Jun 07 12:02:56 2008 +0000 @@ -27,11 +27,6 @@ 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);