summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 70c93eeba9..97135e8805 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1236,7 +1236,7 @@ void init_vo_spudec(struct MPContext *mpctx)
#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);