[MPlayer-cvslog] r30582 - in trunk: libmenu/menu.h mplayer.c

diego subversion at mplayerhq.hu
Sun Feb 14 15:54:48 CET 2010


Author: diego
Date: Sun Feb 14 15:54:48 2010
New Revision: 30582

Log:
Declare vf_menu_pause_update in libmenu/menu.h.
This avoids a forward declaration in mplayer.c.

Modified:
   trunk/libmenu/menu.h
   trunk/mplayer.c

Modified: trunk/libmenu/menu.h
==============================================================================
--- trunk/libmenu/menu.h	Sun Feb 14 15:49:44 2010	(r30581)
+++ trunk/libmenu/menu.h	Sun Feb 14 15:54:48 2010	(r30582)
@@ -21,6 +21,7 @@
 
 #include "m_struct.h"
 #include "libmpcodecs/mp_image.h"
+#include "libmpcodecs/vf.h"
 
 struct menu_priv_s;
 typedef struct  menu_s menu_t;
@@ -113,4 +114,6 @@ void menu_draw_text_full(mp_image_t* mpi
 
 void menu_draw_box(mp_image_t* mpi, unsigned char grey, unsigned char alpha, int x, int y, int w, int h);
 
+void vf_menu_pause_update(struct vf_instance_s* vf);
+
 #endif /* MPLAYER_MENU_H */

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sun Feb 14 15:49:44 2010	(r30581)
+++ trunk/mplayer.c	Sun Feb 14 15:54:48 2010	(r30582)
@@ -334,7 +334,6 @@ char* current_module=NULL; // for debugg
 #ifdef CONFIG_MENU
 #include "m_struct.h"
 #include "libmenu/menu.h"
-void vf_menu_pause_update(struct vf_instance_s* vf);
 extern vf_info_t vf_info_menu;
 static vf_info_t* libmenu_vfs[] = {
   &vf_info_menu,


More information about the MPlayer-cvslog mailing list