Change libass type names to match upstream renames

This commit is contained in:
Uoti Urpala 2009-07-29 01:11:33 +03:00
parent 29bc25b6d4
commit c73217c07a
3 changed files with 3 additions and 3 deletions

View File

@ -123,7 +123,7 @@ typedef struct sh_sub {
char type; // t = text, v = VobSub, a = SSA/ASS
unsigned char* extradata; // extra header data passed from demuxer
int extradata_len;
struct ass_track_s *ass_track; // for SSA/ASS streams (type == 'a')
struct ass_track *ass_track; // for SSA/ASS streams (type == 'a')
char* lang; // track language
int default_track;
} sh_sub_t;

View File

@ -152,7 +152,7 @@ typedef struct MPContext {
int global_sub_indices[SUB_SOURCES];
// set_of_ass_tracks[i] contains subtitles from set_of_subtitles[i]
// parsed by libass or NULL if format unsupported
struct ass_track_s *set_of_ass_tracks[MAX_SUBTITLE_FILES];
struct ass_track *set_of_ass_tracks[MAX_SUBTITLE_FILES];
sub_data* set_of_subtitles[MAX_SUBTITLE_FILES];
int file_format;

View File

@ -6,7 +6,7 @@
#include "libmpdemux/stheader.h"
extern double sub_last_pts;
extern struct ass_track_s *ass_track;
extern struct ass_track *ass_track;
extern subtitle *vo_sub_last;
void print_version(const char* name);