Add missing type to declaration and remove unused variable

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22161 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
uau 2007-02-05 23:56:18 +00:00
parent 45defa1aa0
commit d524405f5c
1 changed files with 1 additions and 2 deletions

View File

@ -2979,8 +2979,7 @@ static void update_subtitles(void)
} }
#ifdef USE_ASS #ifdef USE_ASS
if (ass_enabled) { if (ass_enabled) {
static global_ass_track = NULL; static ass_track_t *global_ass_track = NULL;
sh_sub_t *sh = (sh_sub_t *)d_dvdsub->sh;
if (!global_ass_track) global_ass_track = ass_default_track(ass_library); if (!global_ass_track) global_ass_track = ass_default_track(ass_library);
ass_track = global_ass_track; ass_track = global_ass_track;
vo_sub = NULL; vo_sub = NULL;