Mercurial > mplayer.hg
changeset 31487:fd422d385a19
Add #include for libvo/sub.h instead of duplicating sub_pos extern declaration.
author | diego |
---|---|
date | Thu, 24 Jun 2010 16:38:13 +0000 |
parents | 9b74773043d4 |
children | 4b738166e825 |
files | cfg-common.h spudec.c |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cfg-common.h Thu Jun 24 14:06:51 2010 +0000 +++ b/cfg-common.h Thu Jun 24 16:38:13 2010 +0000 @@ -33,6 +33,7 @@ #include "libmpdemux/demuxer.h" #include "libmpdemux/mf.h" #include "libpostproc/postprocess.h" +#include "libvo/sub.h" #include "osdep/priority.h" #include "stream/cdd.h" #include "stream/network.h"
--- a/spudec.c Thu Jun 24 14:06:51 2010 +0000 +++ b/spudec.c Thu Jun 24 16:38:13 2010 +0000 @@ -37,6 +37,7 @@ #include <unistd.h> #include <string.h> #include <math.h> +#include "libvo/sub.h" #include "libvo/video_out.h" #include "spudec.h" #include "vobsub.h" @@ -55,7 +56,6 @@ int spu_aamode = 3; int spu_alignment = -1; float spu_gaussvar = 1.0; -extern int sub_pos; typedef struct packet_t packet_t; struct packet_t {