mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
Mark vf_size_preset_fields m_option_t array as const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31001 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
51d72c7764
commit
935147dd64
@ -670,7 +670,7 @@ static const struct size_preset {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define ST_OFF(f) M_ST_OFF(struct size_preset,f)
|
#define ST_OFF(f) M_ST_OFF(struct size_preset,f)
|
||||||
static m_option_t vf_size_preset_fields[] = {
|
static const m_option_t vf_size_preset_fields[] = {
|
||||||
{"w", ST_OFF(w), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL},
|
{"w", ST_OFF(w), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL},
|
||||||
{"h", ST_OFF(h), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL},
|
{"h", ST_OFF(h), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL},
|
||||||
{ NULL, NULL, 0, 0, 0, 0, NULL }
|
{ NULL, NULL, 0, 0, 0, 0, NULL }
|
||||||
|
Loading…
Reference in New Issue
Block a user