changeset 7003:60a473935d7d

warning fixes by Sylvain Petreolle <spetreolle@yahoo.fr>
author arpi
date Wed, 14 Aug 2002 21:28:18 +0000
parents 518faaa2aee4
children 8eff71f38685
files libvo/sub.c spudec.h
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <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",
--- 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