summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-14 21:28:18 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-14 21:28:18 +0000
commit0deb4c4346f32e6cefe1850f394f878d1deb056a (patch)
tree9b5ba74044aa99452cfcc0c157841cc81fd80c79
parent99d4526691daafb55435720f3dc80ace8f29d58c (diff)
downloadmpv-0deb4c4346f32e6cefe1850f394f878d1deb056a.tar.bz2
mpv-0deb4c4346f32e6cefe1850f394f878d1deb056a.tar.xz
warning fixes by Sylvain Petreolle <spetreolle@yahoo.fr>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7004 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/sub.c2
-rw-r--r--spudec.h2
2 files changed, 4 insertions, 0 deletions
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 <stdio.h>
#include <stdlib.h>
+#include <string.h>
#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