annotate libass/ass_library.h @ 26146:20a126aaa756

ve_vfw.c: #include aviheader.h instead of wine avifmt.h Compilation was broken after libmpdemux/muxer.h started including libmpdemux/aviheader.h. ve_vfw.c included both muxer.h and loader/wine/avifmt.h, and the latter has definitions that conflict with aviheader.h ones. Fix by removing the avifmt.h include. I did not carefully check that changing the includes doesn't break any ve_vfw.c code. However it at least fixes compilation, and if the avifmt.h versions differ in some significant way then the code is fundamentally broken anyway: ve_vfw cannot use different versions of the avi struct definitions when it also uses shared muxer.h types (those must use the standard definitions to keep the type compatible with what's used in other files).
author uau
date Thu, 06 Mar 2008 01:57:26 +0000
parents aaebaf255b23
children 0f892cd714b2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20477
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
1 // -*- c-basic-offset: 8; indent-tabs-mode: t -*-
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
2 // vim:ts=8:sw=8:noet:ai:
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
3 /*
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
4 Copyright (C) 2006 Evgeniy Stepanov <eugeni.stepanov@gmail.com>
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
5
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
6 This program is free software; you can redistribute it and/or modify
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
8 the Free Software Foundation; either version 2 of the License, or
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
9 (at your option) any later version.
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
10
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
11 This program is distributed in the hope that it will be useful,
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
14 GNU General Public License for more details.
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
15
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
17 along with this program; if not, write to the Free Software
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
18 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
19 */
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
20
25897
aaebaf255b23 Consistently give all libass multiple inclusion guards a LIBASS_ prefix.
diego
parents: 25535
diff changeset
21 #ifndef LIBASS_LIBRARY_H
aaebaf255b23 Consistently give all libass multiple inclusion guards a LIBASS_ prefix.
diego
parents: 25535
diff changeset
22 #define LIBASS_LIBRARY_H
20477
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
23
21458
7af6c25a0cfc Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents: 20477
diff changeset
24 typedef struct ass_fontdata_s {
7af6c25a0cfc Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents: 20477
diff changeset
25 char* name;
7af6c25a0cfc Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents: 20477
diff changeset
26 char* data;
7af6c25a0cfc Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents: 20477
diff changeset
27 int size;
7af6c25a0cfc Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents: 20477
diff changeset
28 } ass_fontdata_t;
7af6c25a0cfc Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents: 20477
diff changeset
29
20477
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
30 struct ass_library_s {
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
31 char* fonts_dir;
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
32 int extract_fonts;
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
33 char** style_overrides;
21458
7af6c25a0cfc Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents: 20477
diff changeset
34
7af6c25a0cfc Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents: 20477
diff changeset
35 ass_fontdata_t* fontdata;
7af6c25a0cfc Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents: 20477
diff changeset
36 int num_fontdata;
20477
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
37 };
de4a66d99f41 Libass interface reworked:
eugeni
parents:
diff changeset
38
25897
aaebaf255b23 Consistently give all libass multiple inclusion guards a LIBASS_ prefix.
diego
parents: 25535
diff changeset
39 #endif /* LIBASS_LIBRARY_H */