# HG changeset patch # User diego # Date 1277397493 0 # Node ID fd422d385a19ca2bc0a5492ca75b4cc266da91f5 # Parent 9b74773043d436269a42a54b0eeb9e6f8fe7582b Add #include for libvo/sub.h instead of duplicating sub_pos extern declaration. diff -r 9b74773043d4 -r fd422d385a19 cfg-common.h --- 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" diff -r 9b74773043d4 -r fd422d385a19 spudec.c --- 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 #include #include +#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 {