# HG changeset patch # User diego # Date 1277398247 0 # Node ID 4b738166e8250fa0bcf82b8561d78ab9b70389d2 # Parent fd422d385a19ca2bc0a5492ca75b4cc266da91f5 Add libvo/sub.h #include instead of declaring sub_visibility extern. diff -r fd422d385a19 -r 4b738166e825 libmpcodecs/vf_ass.c --- 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, diff -r fd422d385a19 -r 4b738166e825 libmpcodecs/vf_vo.c --- 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 {