[MPlayer-cvslog] r24173 - in trunk/gui: cfg.c cfg.h interface.c

diego subversion at mplayerhq.hu
Sat Aug 25 15:05:08 CEST 2007


Author: diego
Date: Sat Aug 25 15:05:07 2007
New Revision: 24173

Log:
Remove redundant extern declarations, #include the right headers instead.


Modified:
   trunk/gui/cfg.c
   trunk/gui/cfg.h
   trunk/gui/interface.c

Modified: trunk/gui/cfg.c
==============================================================================
--- trunk/gui/cfg.c	(original)
+++ trunk/gui/cfg.c	Sat Aug 25 15:05:07 2007
@@ -14,6 +14,8 @@
 #include "libvo/video_out.h"
 #include "stream/stream.h"
 #include "libmpdemux/demuxer.h"
+#include "libass/ass.h"
+#include "libass/ass_mp.h"
 
 #include "cfg.h"
 #include "app.h"

Modified: trunk/gui/cfg.h
==============================================================================
--- trunk/gui/cfg.h	(original)
+++ trunk/gui/cfg.h	Sat Aug 25 15:05:07 2007
@@ -64,10 +64,6 @@ typedef struct {
     int bottom_margin;
 } gtkASS_t;
 extern gtkASS_t gtkASS;
-extern int ass_enabled;
-extern int ass_use_margins;
-extern int ass_top_margin;
-extern int ass_bottom_margin;
 #endif
 
 extern int cfg_read( void );

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	(original)
+++ trunk/gui/interface.c	Sat Aug 25 15:05:07 2007
@@ -28,6 +28,8 @@
 #include "mixer.h"
 #include "libaf/af.h"
 #include "libaf/equalizer.h"
+#include "libass/ass.h"
+#include "libass/ass_mp.h"
 
 extern af_cfg_t af_cfg;
 



More information about the MPlayer-cvslog mailing list