[MPlayer-cvslog] r20499 - trunk/mplayer.c

eugeni subversion at mplayerhq.hu
Sun Oct 29 04:23:23 CET 2006


Author: eugeni
Date: Sun Oct 29 04:23:23 2006
New Revision: 20499

Modified:
   trunk/mplayer.c

Log:
Always initialize and destroy ass_library.


Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Sun Oct 29 04:23:23 2006
@@ -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);



More information about the MPlayer-cvslog mailing list