Mercurial > mplayer.hg
annotate subreader.h @ 615:b96e45bcb178
init.
author | pontscho |
---|---|
date | Tue, 24 Apr 2001 11:35:07 +0000 |
parents | 1b2cd175236f |
children | 41d6eec69b60 |
rev | line source |
---|---|
258 | 1 |
2 extern int sub_uses_time; | |
3 extern int sub_errs; | |
4 extern int sub_num; // number of subtitle structs | |
5 extern int sub_format; // 0 for microdvd, 1 for SubRip, 2 for the third format | |
6 | |
7 #define SUB_MAX_TEXT 5 | |
8 | |
9 typedef struct { | |
10 | |
11 int lines; | |
12 | |
13 unsigned long start; | |
14 unsigned long end; | |
15 | |
16 char *text[SUB_MAX_TEXT]; | |
17 } subtitle; | |
18 | |
19 subtitle* sub_read_file (char *filename); | |
509 | 20 char * sub_filename( char * fname ); |