# HG changeset patch # User arpi # Date 1029360498 0 # Node ID 60a473935d7d3e2f05046431455bf93e9002d904 # Parent 518faaa2aee42b00b43066a0070c6e6cf4d0304f warning fixes by Sylvain Petreolle diff -r 518faaa2aee4 -r 60a473935d7d libvo/sub.c --- a/libvo/sub.c Wed Aug 14 21:25:01 2002 +0000 +++ b/libvo/sub.c Wed Aug 14 21:28:18 2002 +0000 @@ -1,12 +1,14 @@ #include #include +#include #include "config.h" #include "mp_msg.h" #include "video_out.h" #include "font_load.h" #include "sub.h" +#include "../spudec.h" char * __sub_osd_names[]={ "Seekbar", diff -r 518faaa2aee4 -r 60a473935d7d spudec.h --- a/spudec.h Wed Aug 14 21:25:01 2002 +0000 +++ b/spudec.h Wed Aug 14 21:28:18 2002 +0000 @@ -15,5 +15,7 @@ void spudec_set_font_factor(void * this, double factor); // sets the equivalent to ffactor void spudec_set_hw_spu(void *this, vo_functions_t *hw_spu); int spudec_changed(void *this); +void spudec_calc_bbox(void *me, unsigned int dxs, unsigned int dys, unsigned int* bbox); +void spudec_draw_scaled(void *me, unsigned int dxs, unsigned int dys, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); #endif