diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-02 16:45:34 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-02 16:45:34 +0000 |
commit | 37235a01d9cf3b2f2d47436dd7a7c11b55863629 (patch) | |
tree | 6e508a2b1b2936bee15abfcc143d6c7e826e3006 /cfg-mplayer.h | |
parent | c3fc57f4022c104179ff348caabf007c14e82c14 (diff) | |
download | mpv-37235a01d9cf3b2f2d47436dd7a7c11b55863629.tar.bz2 mpv-37235a01d9cf3b2f2d47436dd7a7c11b55863629.tar.xz |
Make the main m_option_t arrays const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25261 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 8b1e7d1a5a..cc5caa8c09 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -35,8 +35,8 @@ extern char *menu_fribidi_charset; extern int menu_flip_hebrew; extern int menu_fribidi_flip_commas; -extern int vo_zr_parseoption(m_option_t* conf, char *opt, char * param); -extern void vo_zr_revertoption(m_option_t* opt,char* pram); +extern int vo_zr_parseoption(const m_option_t* conf, char *opt, char * param); +extern void vo_zr_revertoption(const m_option_t* opt,char* pram); extern m_option_t dxr2_opts[]; @@ -53,13 +53,13 @@ extern int readPPOpt(void *conf, char *arg); extern void revertPPOpt(void *conf, char* opt); extern char* pp_help; -m_option_t vd_conf[]={ +const m_option_t vd_conf[]={ {"help", "Use MPlayer with an appropriate video file instead of live partners to avoid vd.\n", CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, {NULL, NULL, 0, 0, 0, 0, NULL} }; #ifdef USE_TV -m_option_t tvscan_conf[]={ +const m_option_t tvscan_conf[]={ {"autostart", &stream_tv_defaults.scan, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"threshold", &stream_tv_defaults.scan_threshold, CONF_TYPE_INT, CONF_RANGE, 1, 100, NULL}, {"period", &stream_tv_defaults.scan_period, CONF_TYPE_FLOAT, CONF_RANGE, 0.1, 2.0, NULL}, @@ -79,7 +79,7 @@ m_option_t tvscan_conf[]={ * by Folke */ -m_option_t mplayer_opts[]={ +const m_option_t mplayer_opts[]={ /* name, pointer, type, flags, min, max */ //---------------------- libao/libvo options ------------------------ |