[MPlayer-cvslog] CVS: main/input input.c,1.108,1.109

Aurelien Jacobs CVS syncmail at mplayerhq.hu
Fri Feb 11 12:44:02 CET 2005


CVS change done by Aurelien Jacobs CVS

Update of /cvsroot/mplayer/main/input
In directory mail:/var2/tmp/cvs-serv23900/input

Modified Files:
	input.c 
Log Message:
fix "Unknown argument" with cmd containing spaces

Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- input.c	20 Jan 2005 13:22:52 -0000	1.108
+++ input.c	11 Feb 2005 11:44:00 -0000	1.109
@@ -633,6 +633,7 @@
       cmd->args[i].v.s = (char*)malloc((l+1)*sizeof(char));
       strncpy(cmd->args[i].v.s,start,l);
       cmd->args[i].v.s[l] = '\0';
+      if(term != ' ') ptr += l+2;
     } break;
     case -1:
       ptr = NULL;




More information about the MPlayer-cvslog mailing list