summaryrefslogtreecommitdiffstats
path: root/sub_cc.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-25 16:39:22 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-25 16:39:22 +0000
commitfd031ad208f823de138f574da81484bc23b320dc (patch)
tree081852570190685225fed15eed9925527e832c2d /sub_cc.c
parent3549a86316204f0e47822a68f15c34d548a90851 (diff)
downloadmpv-fd031ad208f823de138f574da81484bc23b320dc.tar.bz2
mpv-fd031ad208f823de138f574da81484bc23b320dc.tar.xz
codmetics :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6792 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'sub_cc.c')
-rw-r--r--sub_cc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sub_cc.c b/sub_cc.c
index 2557205722..311f504982 100644
--- a/sub_cc.c
+++ b/sub_cc.c
@@ -16,6 +16,8 @@
#include <stdio.h>
#include <stdlib.h>
+#include "sub_cc.h"
+
#include "subreader.h"
#include "libvo/video_out.h"
@@ -28,10 +30,8 @@
static char chartbl[128];
-extern int subcc_enabled;
-
-subtitle buf1,buf2;
-subtitle *fb,*bb;
+static subtitle buf1,buf2;
+static subtitle *fb,*bb;
static unsigned int cursor_pos=0;
@@ -58,7 +58,7 @@ static void build_char_table(void)
chartbl[0x7f] = '¤'; /* FIXME: this should be a solid block */
}
-void clear_buffer(subtitle *buf)
+static void clear_buffer(subtitle *buf)
{
int i;
buf->lines=0;
@@ -184,7 +184,7 @@ static void cc_decode_EIA608(unsigned short int data)
lastcode=data;
}
-void subcc_decode()
+static void subcc_decode()
{
/* The first number may denote a channel number. I don't have the
* EIA-708 standard, so it is hard to say.