mirror of
https://github.com/mpv-player/mpv
synced 2024-10-18 10:25:02 +02:00
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
This commit is contained in:
parent
9ed70ed3e1
commit
8fb512dbf0
@ -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++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user