[MPlayer-cvslog] r37548 - in branches/1.2: . gui/interface.c

ib subversion at mplayerhq.hu
Sun Oct 18 19:09:49 CEST 2015


Author: ib
Date: Sun Oct 18 19:09:49 2015
New Revision: 37548

Log:
Merge r37543 from trunk:

Fix segmentation fault.

Modified:
   branches/1.2/   (props changed)
   branches/1.2/gui/interface.c

Modified: branches/1.2/gui/interface.c
==============================================================================
--- branches/1.2/gui/interface.c	Sun Oct 18 01:28:29 2015	(r37547)
+++ branches/1.2/gui/interface.c	Sun Oct 18 19:09:49 2015	(r37548)
@@ -507,7 +507,7 @@ int gui(int what, void *data)
             force_fps = 0;
         }
 
-        if (gstrcmp(strrchr(guiInfo.Filename, '.'), ".cue") == 0)
+        if (guiInfo.Filename && (gstrcmp(strrchr(guiInfo.Filename, '.'), ".cue") == 0))
             guiInfo.StreamType = STREAMTYPE_BINCUE;
 
         switch (guiInfo.StreamType) {


More information about the MPlayer-cvslog mailing list