diff mplayer.c @ 31837:46c25393f99d

Remove useless cast.
author reimar
date Tue, 03 Aug 2010 17:01:13 +0000
parents 8187612b1af8
children 5edb6679ccad
line wrap: on
line diff
--- a/mplayer.c	Tue Aug 03 16:26:50 2010 +0000
+++ b/mplayer.c	Tue Aug 03 17:01:13 2010 +0000
@@ -1187,7 +1187,7 @@
 #endif
 
   if (vo_spudec==NULL) {
-    sh_sub_t *sh = (sh_sub_t *)mpctx->d_sub->sh;
+    sh_sub_t *sh = mpctx->d_sub->sh;
     current_module="spudec_init_normal";
     vo_spudec=spudec_new_scaled(NULL, mpctx->sh_video->disp_w, mpctx->sh_video->disp_h, sh->extradata, sh->extradata_len);
     spudec_set_font_factor(vo_spudec,font_factor);