[Mplayer-cvslog] CVS: main sub_cc.c,1.1,1.2 sub_cc.h,1.2,1.3

Arpi of Ize arpi at mplayerhq.hu
Thu Jul 25 18:39:24 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv12882

Modified Files:
	sub_cc.c sub_cc.h 
Log Message:
codmetics :)


Index: sub_cc.c
===================================================================
RCS file: /cvsroot/mplayer/main/sub_cc.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sub_cc.c	25 Jul 2002 03:37:27 -0000	1.1
+++ sub_cc.c	25 Jul 2002 16:39:21 -0000	1.2
@@ -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.

Index: sub_cc.h
===================================================================
RCS file: /cvsroot/mplayer/main/sub_cc.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sub_cc.h	25 Jul 2002 15:32:29 -0000	1.2
+++ sub_cc.h	25 Jul 2002 16:39:21 -0000	1.3
@@ -2,6 +2,8 @@
 #define SUB_CC_H
 
 extern int subcc_enabled;
+
+void subcc_init();
 void subcc_process_data(unsigned char *inputdata,unsigned int len);
 
 #endif /*SUB_CC_H*/




More information about the MPlayer-cvslog mailing list