[MPlayer-cvslog] CVS: main parser-mpcmd.c,1.18,1.19

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sun Nov 14 12:09:58 CET 2004


CVS change done by Reimar Döffinger CVS

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

Modified Files:
	parser-mpcmd.c 
Log Message:
fix: when doing -loop 0 -shuffle, the arg after shuffle was skipped


Index: parser-mpcmd.c
===================================================================
RCS file: /cvsroot/mplayer/main/parser-mpcmd.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- parser-mpcmd.c	10 Nov 2004 16:43:38 -0000	1.18
+++ parser-mpcmd.c	14 Nov 2004 11:09:56 -0000	1.19
@@ -60,7 +60,6 @@
 m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv)
 {
   int i,j,start_title=-1,end_title=-1;
-  int tmp = 0;
   char *opt,*splitpos=NULL;
   char entbuf[10];
   int no_more_opts = 0;
@@ -130,6 +129,7 @@
 			
     if ((no_more_opts == 0) && (*opt == '-') && (*(opt+1) != 0)) /* option */
       {
+	int tmp = 0;
 	/* remove trailing '-' */
 	opt++;
 




More information about the MPlayer-cvslog mailing list