[Mplayer-cvslog] CVS: main mplayer.c,1.742,1.743

Attila Kinali CVS attila at mplayerhq.hu
Sat Jan 10 12:23:44 CET 2004


Update of /cvsroot/mplayer/main
In directory mail:/scsi/2/tmp/cvs-serv17610

Modified Files:
	mplayer.c 
Log Message:
prevent sig11 when $HOME is not set
patch by From: Martin Oberzalek <kingleo at gmx.at>


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.742
retrieving revision 1.743
diff -u -r1.742 -r1.743
--- mplayer.c	8 Jan 2004 18:02:31 -0000	1.742
+++ mplayer.c	10 Jan 2004 11:23:42 -0000	1.743
@@ -1632,7 +1632,8 @@
         add_subtitles (sub_name[i], sh_video->fps, 0); 
   } 
   if(sub_auto) { // auto load sub file ...
-    char **tmp = sub_filenames(get_path("sub/"), filename);
+    char *psub = get_path( "sub/" );
+    char **tmp = sub_filenames((psub ? psub : ""), filename);
     char **tmp2 = tmp;
     while (*tmp2)
         add_subtitles (*tmp2++, sh_video->fps, 0);




More information about the MPlayer-cvslog mailing list