[MPlayer-cvslog] r38071 - trunk/gui/ui/actions.c

ib subversion at mplayerhq.hu
Thu Apr 12 15:46:21 EEST 2018


Author: ib
Date: Thu Apr 12 15:46:21 2018
New Revision: 38071

Log:
Fix broken evDropSubtitle.

Don't free guiInfo.SubtitleFilename, because not necessarily
the loaded guiInfo.SubtitleFilename is requested to be dropped,
but the currently displayed subtitle.

Modified:
   trunk/gui/ui/actions.c

Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c	Thu Apr 12 15:40:54 2018	(r38070)
+++ trunk/gui/ui/actions.c	Thu Apr 12 15:46:21 2018	(r38071)
@@ -243,7 +243,6 @@ play:
         break;
 
     case evDropSubtitle:
-        nfree(guiInfo.SubtitleFilename);
         mplayerLoadSubtitle(NULL);
         break;
 


More information about the MPlayer-cvslog mailing list