[MPlayer-cvslog] r31553 - in trunk: cfg-common.h spudec.c

diego subversion at mplayerhq.hu
Thu Jun 24 18:38:13 CEST 2010


Author: diego
Date: Thu Jun 24 18:38:13 2010
New Revision: 31553

Log:
Add #include for libvo/sub.h instead of duplicating sub_pos extern declaration.

Modified:
   trunk/cfg-common.h
   trunk/spudec.c

Modified: trunk/cfg-common.h
==============================================================================
--- trunk/cfg-common.h	Thu Jun 24 16:06:51 2010	(r31552)
+++ trunk/cfg-common.h	Thu Jun 24 18:38:13 2010	(r31553)
@@ -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"

Modified: trunk/spudec.c
==============================================================================
--- trunk/spudec.c	Thu Jun 24 16:06:51 2010	(r31552)
+++ trunk/spudec.c	Thu Jun 24 18:38:13 2010	(r31553)
@@ -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 {


More information about the MPlayer-cvslog mailing list