changeset 22143:be16314071fe

Add missing type to declaration and remove unused variable
author uau
date Mon, 05 Feb 2007 23:56:18 +0000
parents 84f95595f31f
children 7285f260cc27
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Mon Feb 05 23:46:08 2007 +0000
+++ b/mplayer.c	Mon Feb 05 23:56:18 2007 +0000
@@ -2979,8 +2979,7 @@
       }
 #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;