summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/mplayer.c b/mplayer.c
index 31cd959ea1..167d6df94b 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3108,14 +3108,7 @@ if(!codecs_file || !parse_codec_cfg(codecs_file)){
vo_init_osd();
#ifdef USE_ASS
-{
- char* path = get_path("fonts");
- ass_library = ass_library_init();
- ass_set_fonts_dir(ass_library, path);
- ass_set_extract_fonts(ass_library, extract_embedded_fonts);
- ass_set_style_overrides(ass_library, ass_force_style_list);
- free(path);
-}
+ ass_library = ass_init();
#endif
#ifdef HAVE_RTC