diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2021-10-03 18:31:45 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-11-15 14:02:08 +0000 |
commit | b44f522dba55c9e9031328e70209493111eea757 (patch) | |
tree | 1b7e417f32dca16c753fc4d8a5c46345c4bceec6 /player | |
parent | f09396ab7d584311a9784006eca53f6379e7218b (diff) | |
download | mpv-b44f522dba55c9e9031328e70209493111eea757.tar.bz2 mpv-b44f522dba55c9e9031328e70209493111eea757.tar.xz |
options: const annotate all m_opt_choice_alternatives accessors
Constant data, most accessors are good but some were missing the
explicit notation.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index 7403bb4cf4..b13bea5ca6 100644 --- a/player/command.c +++ b/player/command.c @@ -3388,7 +3388,7 @@ static int mp_property_option_info(void *ctx, struct m_property *prop, char **choices = NULL; if (opt->type == &m_option_type_choice) { - struct m_opt_choice_alternatives *alt = opt->priv; + const struct m_opt_choice_alternatives *alt = opt->priv; int num = 0; for ( ; alt->name; alt++) MP_TARRAY_APPEND(NULL, choices, num, alt->name); |