[MPlayer-cvslog] r28109 - in trunk/libvo: vo_macosx.m vo_quartz.c

diego subversion at mplayerhq.hu
Mon Dec 8 01:02:07 CET 2008


Author: diego
Date: Mon Dec  8 01:02:07 2008
New Revision: 28109

Log:
#include appropriate headers instead of locally declaring function prototypes.


Modified:
   trunk/libvo/vo_macosx.m
   trunk/libvo/vo_quartz.c

Modified: trunk/libvo/vo_macosx.m
==============================================================================
--- trunk/libvo/vo_macosx.m	(original)
+++ trunk/libvo/vo_macosx.m	Mon Dec  8 01:02:07 2008
@@ -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)

Modified: trunk/libvo/vo_quartz.c
==============================================================================
--- trunk/libvo/vo_quartz.c	(original)
+++ trunk/libvo/vo_quartz.c	Mon Dec  8 01:02:07 2008
@@ -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);



More information about the MPlayer-cvslog mailing list