From d524405f5c644a225caaeca2a2a1758c1a52165d Mon Sep 17 00:00:00 2001 From: uau Date: Mon, 5 Feb 2007 23:56:18 +0000 Subject: Add missing type to declaration and remove unused variable git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22161 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mplayer.c b/mplayer.c index c560d54a67..1708a5204d 100644 --- a/mplayer.c +++ b/mplayer.c @@ -2979,8 +2979,7 @@ static void update_subtitles(void) } #ifdef USE_ASS if (ass_enabled) { - static global_ass_track = NULL; - sh_sub_t *sh = (sh_sub_t *)d_dvdsub->sh; + static ass_track_t *global_ass_track = NULL; if (!global_ass_track) global_ass_track = ass_default_track(ass_library); ass_track = global_ass_track; vo_sub = NULL; -- cgit v1.2.3