From 0deb4c4346f32e6cefe1850f394f878d1deb056a Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 14 Aug 2002 21:28:18 +0000 Subject: [PATCH] warning fixes by Sylvain Petreolle git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7004 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/sub.c | 2 ++ spudec.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libvo/sub.c b/libvo/sub.c index 664f9f2cde..f4c302056a 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -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 --git a/spudec.h b/spudec.h index 82dd3b3c6f..d6f7b755b4 100644 --- a/spudec.h +++ b/spudec.h @@ -15,5 +15,7 @@ int spudec_visible(void *this); // check if spu is visible 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