summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-08 00:02:07 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-08 00:02:07 +0000
commit1f5caf1867e1a3e020f60d29b6e5513abc4e53c4 (patch)
tree2f330e71434210520a956d28f16003c9c340ed4a /libvo
parentd761fd207a02e43bc205c2819e3fb184f419527f (diff)
downloadmpv-1f5caf1867e1a3e020f60d29b6e5513abc4e53c4.tar.bz2
mpv-1f5caf1867e1a3e020f60d29b6e5513abc4e53c4.tar.xz
#include appropriate headers instead of locally declaring function prototypes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28109 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_macosx.m5
-rw-r--r--libvo/vo_quartz.c3
2 files changed, 3 insertions, 5 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m
index 3097651dfa..41e3663ce5 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -25,6 +25,8 @@
#include "aspect.h"
#include "mp_msg.h"
#include "m_option.h"
+#include "mp_fifo.h"
+#include "libvo/sub.h"
#include "input/input.h"
#include "input/mouse.h"
@@ -85,9 +87,6 @@ static vo_info_t info =
LIBVO_EXTERN(macosx)
-void mplayer_put_key(int code);
-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));
-
static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src, unsigned char *srca, int stride)
{
switch (image_format)
diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c
index f6dfe0b212..5ed5279fcc 100644
--- a/libvo/vo_quartz.c
+++ b/libvo/vo_quartz.c
@@ -30,6 +30,7 @@
#include "m_option.h"
#include "mp_fifo.h"
#include "mpbswap.h"
+#include "libvo/sub.h"
#include "input/input.h"
#include "input/mouse.h"
@@ -128,8 +129,6 @@ enum
#include "osdep/keycodes.h"
-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));
-
//PROTOTYPE/////////////////////////////////////////////////////////////////
static OSStatus KeyEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData);
static OSStatus MouseEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData);