diff options
author | wm4 <wm4@nowhere> | 2015-03-05 10:57:38 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-05 10:57:38 +0100 |
commit | dcabceb6268d64a16c370504de265d0dcc657301 (patch) | |
tree | 0d5d2731ae81a153d0a467a4dc0cfe932255e942 /options/parse_commandline.h | |
parent | ae33ec2c5b923667a410eb6fda468fc977948098 (diff) | |
download | mpv-dcabceb6268d64a16c370504de265d0dcc657301.tar.bz2 mpv-dcabceb6268d64a16c370504de265d0dcc657301.tar.xz |
player: minor simplification
argv is always terminated with a NULL, so we don't need to drag argc
along. Simplifies the following commit a little bit.
Diffstat (limited to 'options/parse_commandline.h')
-rw-r--r-- | options/parse_commandline.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/options/parse_commandline.h b/options/parse_commandline.h index 39512ca51a..fde1329995 100644 --- a/options/parse_commandline.h +++ b/options/parse_commandline.h @@ -26,9 +26,8 @@ struct m_config; struct mpv_global; int m_config_parse_mp_command_line(m_config_t *config, struct playlist *files, - struct mpv_global *global, - int argc, char **argv); + struct mpv_global *global, char **argv); void m_config_preparse_command_line(m_config_t *config, struct mpv_global *global, - int argc, char **argv); + char **argv); #endif /* MPLAYER_PARSER_MPCMD_H */ |