diff --git a/mplayer.c b/mplayer.c index f712dda9ee..31cd959ea1 100644 --- a/mplayer.c +++ b/mplayer.c @@ -706,9 +706,7 @@ static void exit_player_with_rc(const char* how, int rc){ free_osd_list(); #ifdef USE_ASS -if(ass_enabled) { ass_library_done(ass_library); -} #endif current_module="exit_player"; @@ -3110,7 +3108,7 @@ if(!codecs_file || !parse_codec_cfg(codecs_file)){ vo_init_osd(); #ifdef USE_ASS -if(1 || ass_enabled) { // even if ass_enabled==0 now it can be used +{ char* path = get_path("fonts"); ass_library = ass_library_init(); ass_set_fonts_dir(ass_library, path);