annotate subreader.h @ 435:3e3579ffaefe

ASV2 changed - no more pixels ;)
author arpi_esp
date Sun, 15 Apr 2001 14:47:56 +0000
parents 66017e126280
children 1b2cd175236f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
258
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
1
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
2 extern int sub_uses_time;
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
3 extern int sub_errs;
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
4 extern int sub_num; // number of subtitle structs
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
5 extern int sub_format; // 0 for microdvd, 1 for SubRip, 2 for the third format
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
6
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
7 #define SUB_MAX_TEXT 5
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
8
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
9 typedef struct {
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
10
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
11 int lines;
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
12
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
13 unsigned long start;
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
14 unsigned long end;
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
15
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
16 char *text[SUB_MAX_TEXT];
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
17 } subtitle;
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
18
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
19 subtitle* sub_read_file (char *filename);