0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

Declare vf_menu_pause_update in libmenu/menu.h.

This avoids a forward declaration in mplayer.c.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30582 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-02-14 14:54:48 +00:00
parent 4b6ce33628
commit 782c37899b
2 changed files with 3 additions and 1 deletions

View File

@ -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,char* txt,
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 */

View File

@ -334,7 +334,6 @@ char* current_module=NULL; // for debugging
#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,