Mercurial > mplayer.hg
diff sub_cc.c @ 6791:a3b2f80f3a26
codmetics :)
author | arpi |
---|---|
date | Thu, 25 Jul 2002 16:39:22 +0000 |
parents | b38e38b6f88f |
children | c4434bdf6e51 |
line wrap: on
line diff
--- a/sub_cc.c Thu Jul 25 15:32:29 2002 +0000 +++ b/sub_cc.c Thu Jul 25 16:39:22 2002 +0000 @@ -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 @@ 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 @@ 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.