# HG changeset patch # User eugeni # Date 1199796380 0 # Node ID e410a38a4ca886ad83eb7c3c213dc9ac5aeb29e8 # Parent a09381e1a3254edc5e12f0f14fc47bd8593771dc Clear fonts when the file is closed. diff -r a09381e1a325 -r e410a38a4ca8 mplayer.c --- 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) {