# HG changeset patch # User reimar # Date 1280854873 0 # Node ID 46c25393f99d4b1bbc5d8d062409e6632415143a # Parent dcd515ac5f6ca5f2db3feda5e28a4327496c197a Remove useless cast. diff -r dcd515ac5f6c -r 46c25393f99d mplayer.c --- 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);