diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-29 03:23:23 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-29 03:23:23 +0000 |
commit | 219d0cfca9c1c3c2d1f1a8994e765574f01330c4 (patch) | |
tree | da527cc392a668d421a7cc92f323bfa756613c86 /mplayer.c | |
parent | 4df20148797a9d9217157a6f552db433b56095c6 (diff) | |
download | mpv-219d0cfca9c1c3c2d1f1a8994e765574f01330c4.tar.bz2 mpv-219d0cfca9c1c3c2d1f1a8994e765574f01330c4.tar.xz |
Always initialize and destroy ass_library.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20499 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); |