0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +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:
reimar 2004-11-14 11:09:56 +00:00
parent 9ed70ed3e1
commit 8fb512dbf0

View File

@ -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++;