changeset 31488:4b738166e825

Add libvo/sub.h #include instead of declaring sub_visibility extern.
author diego
date Thu, 24 Jun 2010 16:50:47 +0000
parents fd422d385a19
children dc26022e9c27
files libmpcodecs/vf_ass.c libmpcodecs/vf_vo.c
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_ass.c	Thu Jun 24 16:38:13 2010 +0000
+++ b/libmpcodecs/vf_ass.c	Thu Jun 24 16:50:47 2010 +0000
@@ -38,7 +38,7 @@
 #include "vf.h"
 
 #include "libvo/fastmemcpy.h"
-
+#include "libvo/sub.h"
 #include "m_option.h"
 #include "m_struct.h"
 
@@ -70,7 +70,6 @@
 
 extern ass_track_t* ass_track;
 extern float sub_delay;
-extern int sub_visibility;
 
 static int config(struct vf_instance *vf,
 	int width, int height, int d_width, int d_height,
--- a/libmpcodecs/vf_vo.c	Thu Jun 24 16:38:13 2010 +0000
+++ b/libmpcodecs/vf_vo.c	Thu Jun 24 16:50:47 2010 +0000
@@ -26,6 +26,7 @@
 #include "mp_image.h"
 #include "vf.h"
 
+#include "libvo/sub.h"
 #include "libvo/video_out.h"
 
 #ifdef CONFIG_ASS
@@ -35,7 +36,6 @@
 
 //===========================================================================//
 
-extern int sub_visibility;
 extern float sub_delay;
 
 struct vf_priv_s {