changeset 25622:e410a38a4ca8

Clear fonts when the file is closed.
author eugeni
date Tue, 08 Jan 2008 12:46:20 +0000
parents a09381e1a325
children b955a135e3a8
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Tue Jan 08 12:45:41 2008 +0000
+++ b/mplayer.c	Tue Jan 08 12:46:20 2008 +0000
@@ -3664,6 +3664,8 @@
     subdata=NULL;
 #ifdef USE_ASS
     ass_track = NULL;
+    if (ass_library)
+        ass_clear_fonts(ass_library);
 #endif
 
 if(mpctx->eof == PT_NEXT_ENTRY || mpctx->eof == PT_PREV_ENTRY) {