changeset 20483:b7c0ac305d5d

Always initialize and destroy ass_library.
author eugeni
date Sun, 29 Oct 2006 03:23:23 +0000
parents 16b90fde05c9
children 50c4d39b6943
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sun Oct 29 00:23:12 2006 +0000
+++ b/mplayer.c	Sun Oct 29 03:23:23 2006 +0000
@@ -706,9 +706,7 @@
   free_osd_list();
 
 #ifdef USE_ASS
-if(ass_enabled) {
   ass_library_done(ass_library);
-}
 #endif
 
   current_module="exit_player";
@@ -3110,7 +3108,7 @@
   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);