For the event/style/track types, bring back the struct name, but
without the _s suffix. This is useful for forward declaration of
these types.
typedef struct ass_library ass_library_t;
/* ASS Style: line */
-typedef struct {
+typedef struct ass_style {
char *Name;
char *FontName;
double FontSize;
* ass_event_t corresponds to a single Dialogue line;
* text is stored as-is, style overrides will be parsed later.
*/
-typedef struct {
+typedef struct ass_event {
long long Start; // ms
long long Duration; // ms
* (no real difference between them); it can be used in rendering after the
* headers are parsed (i.e. events format line read).
*/
-typedef struct {
+typedef struct ass_track {
int n_styles; // amount used
int max_styles; // amount allocated
int n_events;