From 8fb512dbf09eea504622afebd39ba7dba858ef4b Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 14 Nov 2004 11:09:56 +0000 Subject: fix: when doing -loop 0 -shuffle, the arg after shuffle was skipped git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13933 b3059339-0415-0410-9bf9-f77b7e298cf2 --- parser-mpcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parser-mpcmd.c') diff --git a/parser-mpcmd.c b/parser-mpcmd.c index 55697d901c..a9aebe5dfb 100644 --- a/parser-mpcmd.c +++ b/parser-mpcmd.c @@ -60,7 +60,6 @@ play_tree_t* 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 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv) if ((no_more_opts == 0) && (*opt == '-') && (*(opt+1) != 0)) /* option */ { + int tmp = 0; /* remove trailing '-' */ opt++; -- cgit v1.2.3