diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-11-14 11:09:56 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-11-14 11:09:56 +0000 |
commit | 8fb512dbf09eea504622afebd39ba7dba858ef4b (patch) | |
tree | 714b3c8b01978ba6b6acb7948fc918cdc4c8d609 /parser-mpcmd.c | |
parent | 9ed70ed3e1d9e0767d75085ef6de2abd76a0aee0 (diff) | |
download | mpv-8fb512dbf09eea504622afebd39ba7dba858ef4b.tar.bz2 mpv-8fb512dbf09eea504622afebd39ba7dba858ef4b.tar.xz |
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
Diffstat (limited to 'parser-mpcmd.c')
-rw-r--r-- | parser-mpcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |