# HG changeset patch # User diego # Date 1228330415 0 # Node ID 887ecb9a3792230c8f066935230b154886ccc9e7 # Parent 3cfb920cbe4b47496ea2d1ed8c183acb3d5383ea Remove unused declarations and references to vo_draw_text_osd(), vo_draw_text_progbar(), vo_draw_text_sub(). diff -r 3cfb920cbe4b -r 887ecb9a3792 libvo/sub.c --- a/libvo/sub.c Wed Dec 03 15:25:27 2008 +0000 +++ b/libvo/sub.c Wed Dec 03 18:53:35 2008 +0000 @@ -637,8 +637,6 @@ subtitle* vo_sub=NULL; -// vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)) - inline static void vo_update_text_sub(mp_osd_obj_t* obj,int dxs,int dys){ unsigned char *t; int c,i,j,l,x,y,font,prevc,counter; diff -r 3cfb920cbe4b -r 887ecb9a3792 libvo/sub.h --- a/libvo/sub.h Wed Dec 03 15:25:27 2008 +0000 +++ b/libvo/sub.h Wed Dec 03 18:53:35 2008 +0000 @@ -50,14 +50,6 @@ } mp_osd_obj_t; -#if 0 - -// disable subtitles: -static inline void vo_draw_text_osd(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)){ -} - -#else - #include "subreader.h" extern sub_data* subdata; //currently used subtitles @@ -113,9 +105,6 @@ extern int spu_aamode; extern float spu_gaussvar; -//extern void vo_draw_text_osd(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); -//extern void vo_draw_text_progbar(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); -//extern void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); extern void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); extern void vo_remove_text(int dxs,int dys,void (*remove)(int x0,int y0, int w,int h)); @@ -134,6 +123,4 @@ void osd_set_nav_box (uint16_t sx, uint16_t sy, uint16_t ex, uint16_t ey); #endif -#endif /* 0 */ - #endif /* MPLAYER_SUB_H */ diff -r 3cfb920cbe4b -r 887ecb9a3792 libvo/vo_aa.c --- a/libvo/vo_aa.c Wed Dec 03 15:25:27 2008 +0000 +++ b/libvo/vo_aa.c Wed Dec 03 18:53:35 2008 +0000 @@ -237,7 +237,7 @@ /* nothing will change its size, be we need some values initialized */ resize(); - /* now init out own 'font' (to use vo_draw_text_sub without edit them) */ + /* now init our own 'font' */ if(!vo_font_save) vo_font_save = vo_font; if(vo_font == vo_font_save) { vo_font=malloc(sizeof(font_desc_t));//if(!desc) return NULL;